Parameters are given on the command line when running Simics:
$ ./simics myscript.simics ram_size=64
or as arguments to the run-command-file command:
simics> run-command-file myscript.simics ram_size = 64
or by setting the CLI variables before invoking the script:
simics> $ram_size = 64 simics> run-command-file myscript.simics
The -help
command-line option will show all parameters of
a script:
$ ./simics myscript.simics -help
From the Simics command line, the arguments for a file can be listed by using the help command:
simics> help myscript.simics The original IBM PC XT from 1983, complete with a full-height 10 MB fixed disk and a 5 1/4' floppy drive. networking: mac_addr - string or NIL ...
It is also possible to use tab completion with the run-command-file command:
simics> run-command-file myscript.simics<tab> -local -main-branch ram_size = cpu_freq =