SPARC Architectural Model: User Commands

Introduction

The -cpu flag is available on a number of commands. It used to change the default set of cpus used by the command.

All commands that access memory take a common set of addressing options. These flags control whether addresses are interpreted as virtual, real, or physical and, for translated addressed, the translation's context id and partition id. More documentation can be found here.

Command List: by Category

User Interface

help, alias, unalias, echo, pselect, file, run-cmd-file, run-python-file

Configuration Commands

conf, diskdelay mod, mips, penable_pdisable, version

Running, stopping

dump, run, stepc, stept, stepi, stop, quit, perf, sync

Debugging and Breakpointing

break, delete, list-breakpoints, disassemble, events, load_symbols, unload_symbols, loglev, sym, translate, vdebug

Examine/Modify Simulated State

%reg, fpregs, %cmpregs, pregs read-asi, write-asi, read-reg, write-reg, set-pc, get, set, load, tlbs where

Command List: Alphabetical

Command        Description
%reg        prints cpu registers
alias        sets aliases for standard commands
break        sets cpu breakpoints
cmpregs        prints cmp registers
conf        sets configuration parameters
cpuregs        prints cpu register names
delete        deletes breakpoints
disassemble        disassembles machine instructions
diskdelay        sets disk delay parameters
dump        dumps a checkpoint
echo        echos arguments
events        controls event debugging output
file        runs user interface commands from a file
fpregs        prints floating point registers
get        reads memory
help        user help
list-breakpoints        lists cpu breakpoints
load        loads values from a file and stores them to memory
load_symbols        loads symbol table information
loglev        controls logging levels
mod        load analyzer or remote-debugger module
mips        displays performance information
penable_pdisable        enables (or disables) cpus
perf        displays simualator throughput information
pregs        prints cpu register information
pselect        specifies the current cpu
quit        ends simulation
read-asi        reads values from an non-translating ASI
read-reg        reads values from a cpu register
run        starts execution
run-cmd-file        runs user interface commands from a file
run-python-file        runs python code from a file
set        writes values to memeory
set-pc        sets a cpu's program counter
stepc        steps execution a specified time interval
stepi        steps execution a specified number of instructions
stept        steps execution a specified time interval in global time-sync mode
stop        stops simulation
sym        displays symbol information
sync        synchronizes global time-sync
tlbs        prints tlb information
translate        translates an address to a physical address
unalias        removes an alias
unload_symbols        removes all symbol information
vdebug        enables cpu tracing
version        prints SAM's version number
where        Lists the call stacks of all cpus
write-asi        writes a value to a non-translating ASI
write-reg        writes a value to a cpu register

Deprecated Commands

dbreak       
debug       
pc       
on       
option       
pty       
r       
setreg       
rdt       
read-fp-reg-i       
read-fp-reg-x       
read-th-ctl-reg       
read-th-fp-reg-i       
read-th-fp-reg-x       
read-th-reg       
resume       
stepim       
write       
write-fp-reg-i       
write-fp-reg-x       
write-th-ctl-reg       
write-th-fp-reg-i       
write-th-fp-reg-x