run-cycles run-script
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

run-python-file

Synopsis

run-python-file filename

Description

Read Python code from filename. Any definitions are entered into the top level namespace in the Python environment. Uses the Simics search path to locate filename. This command can be used to start Python scripts inside Simics.

run-python-file uses Simics's Search Path and path markers (%simics%, %script%) to find the script to run. Refer to The Command Line Interface chapter of the Simics User's Guide manual for more information.

Provided By

Simics Core

See Also

python, @, run-command-file, python-mode, add-directory
run-cycles run-script