Running a Simulation from the Command-Line Interface
To run a simulation from the command-line interface:
-
Change to the directory that contains the
cds.libfile. You can also specify thecds.libfile at the command line with the-cdsliboption.
Thecds.libfile contains the library path to the design. If you invokesiin a directory that does not contain thecds.libfile, specify a fully-qualified path to thecds.libfile following the-cdsliboption. For example:si /mnt/temp/spice.run1 -cdslib /mnt/dave/cds.lib -
Enter the
sicommand followed by the full system path to the simulation run directory.
For example, if the path to your run directory is/mnt/temp/spice.run1, enter the following command:
When the system has been initialized, SE displays a command prompt (si /mnt/temp/spice.run1>). You can enter thesicommand with one or both options,-noenv, and-difftest.
If you do not wantsito specify the environment file but let OSS pick the default environment file, use the-noenvoption. For example:si -noenv
To remove any date stamps that appear in thesi.logfile or the standard output during netlisting, use the-difftestoption. For example:
si -difftest -cdslib ./cds.lib -batch -command netlist
You can now enter the SE commands to run any simulation supported in the command-line interface.
Related Topics
Types of Simulations in Command-Line Mode
Functions Used to Run Simulations in All Modes
Return to top