Product Documentation
Simulation Environment Help
Product Version IC23.1, June 2023

Running a Simulation from the Command-Line Interface

To run a simulation from the command-line interface:

  1. Change to the directory that contains the cds.lib file. You can also specify the cds.lib file at the command line with the -cdslib option.
    The cds.lib file contains the library path to the design. If you invoke si in a directory that does not contain the cds.lib file, specify a fully-qualified path to the cds.lib file following the -cdslib option. For example:
    si /mnt/temp/spice.run1 -cdslib /mnt/dave/cds.lib
  2. Enter the si command 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:
    si /mnt/temp/spice.run1
    When the system has been initialized, SE displays a command prompt (>). You can enter the si command with one or both options, -noenv, and -difftest.
    If you do not want si to specify the environment file but let OSS pick the default environment file, use the -noenv option. For example:
    si -noenv 
    To remove any date stamps that appear in the si.log file or the standard output during netlisting, use the -difftest option. 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
 ⠀
X