OPTIONS
-
--batch-modeRun in batch mode. This means that Simics will exit when all commands and scripts given on the command line have executed, or as soon as an error occurs.When an error has occurred, Simics will immediately exit with a non-zero status. If all commands run to completion, Simics exits with status 0, indicating success.
Simics will not use the command history file in batch mode.
-
--licensePrint the Simics license text and exit. This is the default license and is also included in theLICENSEfile. -
--log-file FILELog issued CLI commands to a different file than the default. This implies -log (unless -no-log was specified). -
--no-winDisable external windows. This will prevent Simics from opening target console windows or any other external windows.Disabling a target console only makes it invisible. It does not change its simulated functionality. Disabling it is useful when running in batch mode or when the target console isn't needed, since it doesn't require access to a graphical environment, and running with windows disabled is usually somewhat faster.
-
--script-traceShow when a Simics script is entered/exited, along with any parameters passed to it and result variables returned from it. -
--verboseMake Simics more verbose. This makes Simics give ample details about the execution. This is the opposite of the--quietflag. The quiet and verbose flags turn off each other. The default is somewhere in the middle with a "reasonable" output level.Setting the verbose flag can be useful when solving problems with Simics. Some friendly warnings are not printed unless verbose is turned on.
Note that there will be quite a bit of information printed, most of which isn't usually needed.
-
-c FILE
Load a configuration file. This is equivalent to issuing aread-configurationcommand after Simics has started.If this flag is the last on the command line,
-cmay be omitted. -
-e COMMANDor--execute COMMANDExecute a CLI command. Equivalent of typing in the command at the command line prompt. -
-gui
Start Simics in command line mode but allow the GUI to open windows. -
-h,--helpMakes Simics print a brief help screen and exit. -
-logTurns on logging of issued CLI commands to the~/.simics/6/logfile on Linux and<APPDATA>\Roaming\Simics\6\logon Windows (or any other file specified by--log-file). -
-no-gui
Start Simics in command line mode. No GUI windows will open except if explicitly requested using CLI commands. -
-no-log -
-obscure
Prints out a summary of advanced command line flags and exit. -
-p FILE
Run code from a Python file. -
-q or --quietMake Simics less verbose. This makes Simics output less information, which is useful for batch execution. The opposite effect can be obtained with the--verboseflag. The quiet and verbose flags turn off each other. If you want Simics to be really quiet you can also give the--no-copyrightflag.Note that Simics is rather quiet by default, so this flag usually does not have much effect.
-
-v, --version, --base-version
Print the Simics version number and exit. Other information printed include the information of packages.--base-versiononly prints out Simics version. -
-x
This flag has no effect and is kept for compatibility; it takes no arguments.
ADVANCED-OPTIONS
-
--echoEnable command echoing. When echoing is enabled, Simics will echo all commands executed by startup scripts. Note that this only affects any startup scripts loaded after the-echoflag on the command line. -
--module-pathAdd a path to the directory list that Simics searches for modules. -
--no-copyrightDo not display copyright information when starting Simics. See also the--verboseand--quietflags. -
--no-settingsDo not read any settings files, such as preferences. -
--no-wdeprecatedTurn off warnings about deprecated features. -
--no-werrorDo not treat warnings in Simics as errors. This is the default behavior but may have been disabled in the user preferences. -
--wdeprecatedWarn about all usage of deprecated features. -
--werrorTreat many warnings in Simics as errors and exit. -
-E, -expire TIME
Check out licenses with an expire time, for off-line use. Valid formats are:-
dd-mmm-yyyy[:hh:mm] – where:
- dd
day number in month - mmm
abbreviated name of month - yyyy
year including century - hh
hour in 24-hour format - mm
minutes.
- dd
-
+<num>h – setting the license to expire <num> hours from now.
-
+<num>d – setting the license to expire <num> days from now.
-
-
-core
Allow Simics to dump core on fatal signals. -
-dstc
Force the D-STC to be enabled. See the-no-stcflag for more information. -
-istc
Force the I-STC to be enabled. See the-no-stcflag for more information. -
-n,--no-startupDo not run the commands from thestartup-commandsscript files. -
-no-dstc
Force the D-STC to be disabled. See the-no-stcflag for more information. -
-no-istc
Force the I-STC to be disabled. See the-no-stcflag for more information. -
-no-stc
Disable the Simics internal caches for memory operations and instruction fetches (STCs) that Simics uses to speed up the simulation.Disabling the STCs (this flag disables both the D-STC and the I-STC) can be useful for debugging plug-ins such as cache models, since it will ensure that all memory accesses are fully visible.
It is possible to selectively disable the data and instruction STCs using the
-no-dstcand-no-istcflags, respectively. The STCs are typically enabled by default, although in some versions of Simics they may be disabled. See also the-stcflag. -
-python-verbose
Set the Python verbose flag. This will, for example, make Python print information when Python modules are being loaded. This is the same option as the-vflag inmini-python. -
-stc
Force the I-STC and D-STC to be enabled (default). See the-no-stcflag for more information. The STCs are typically enabled by default, although in some versions of Simics they may be disabled.