AMD 4.4.5 Switch User Manual


 
AMD Confidential
User Manual November 21
st
, 2008
Appendix A 229
Automation Command
Description
Quit
See Exit.
Go
Starts the simulation, see also Section 3.1, “Tool
Bar Buttons”, on page 7.
Stop
Stops the simulation, see also Section 3.1, “Tool
Bar Buttons”, on page 7. The Stop command
does not return until the simulation has in fact
stopped or the stop has failed.
Close
Closes a BSD file that was previously opened.
Open <FileName>
Opens a BSD file.
Modules
Lists all loaded modules.
Running
Shell.running returns No if simulation is
currently not running; otherwise it returns „Yes‟.
Save [<Filename>]
Saves the current system configuration to a file.
Default is simnow.bsd
RunTimeDuration <time>
Runs the simualtion for the given number of
microseconds and then stops the simulation.
GetRunTimeDuration
Returns the run time duration in nanoseconds.
ModifyRegistry <key> <value>
ModifyKey modifies and updates the given
registry key with the given value.
LogConsoleEnabled
Shell.LogConsoleEnabled returns „disabled‟ if
console logging is disabled; otherwise it returns
enabled‟.
SetLogConsoleEnabled <0|1>
Enables or disables logging.
Shell.SetLogConsoleEnabled 1 enables logging
and Shell.SetLogConsoleEnabled 0 disables
logging.
LogWndEnabled
Returns the Log Window status. The status is
enabled‟ or „disabled.
SetLogWndEnabled <0|1>
Sets the Log Window status to enabled or
disabled‟.
LogFile
Returns the current Log file name. Default is
simnow.log‟.
SetLogFile <filename>
Sets the Log file name.
LogFileEnabled
Returns enabled if file logging is enabled
otherwise it returns „disabled‟.
SetLogFileEnabled <0|1>
Enables or disabled file logging. 0 disables file
logging, 1 enables file logging.
LogDevice <Device Name> <0 | 1>
Enabled (1) or disables (0) device logging for
<device>.
LoggingEnabled <Device Name>
Returns the logging status of device <Device
Name>. This automation command returns
enabled or disabled.
ErrorLogFile
Returns the current Error Log file name. Default
is „simnow.errlog‟.
SetErrorLogFile <filename>
Sets the Error Log file name.
ErrorLogFileEnabled
Returns „enabled if error file logging is enabled
otherwise it returns „disabled‟.
SetErrorLogFileEnabled <0|1>
Enables or disabled error file logging. 0 disables
error file logging; 1 enables error file logging.