beautypg.com

AMD SimNow Simulator 4.4.4 User Manual

Page 242

background image

AMD Confidential

User Manual

September 12

h

, 2008

230

Appendix A

Automation Command

Description

Quit

See Exit.

Go

Starts the simulation, see also Section 3.1, “Tool
Bar Buttons
”, on p
age 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

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 []

Saves the current system configuration to a file.
Default is “simnow.bsd

RunTimeDuration

Runs the simualtion for the given number of
microseconds and then stops the simulation.

GetRunTimeDuration

Returns the run time duration in nanoseconds.

ModifyRegistry

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

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 <0 | 1>

Enabled (1) or disables (0) device logging for
.

LoggingEnabled

Returns the logging status of device Name>. This automation command returns
enabled or disabled.

ErrorLogFile

Returns the current Error Log file name. Default
is „simnow.errlog‟.

SetErrorLogFile

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.