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

Functions Used to Run Simulations in All Modes

The sim function runs the following functions in the given order to run simulations in full and batch modes. You can control a manual simulation by running the following functions in the order listed in the table.

Function Description

simCheckVariables

Checks whether the following variables required to run simulations have been set:

simSimulator, simCellName, simLibName, simViewName, simRunDir, simViewList, simStopList, simSedFile, simCommand, simNlpGlobalLibName, and simNlpGlobalCellName.

simInitRunDir

Sets up your simulation run directory. It performs the following actions:

  • Copies a default control file into the simulation run directory.
  • Generates a default input stimulus file.
  • Creates a waveform (raw) directory in the simulation run directory.

Each interface might have additional initialization procedures. Some interfaces create input files in addition to the basic control file.

netlist

Produces a text description of the design specified by the simLibName, simCellName, and simViewName variables in a file named netlist. The netlist file contains the elements, signals, models, and their interconnections in the format required by the target simulator.

simin

Translates names in the control file from user-assigned names in the schematic to netlister-generated names acceptable to the target simulator. This function also merges all input stimulus and command files specified in the control file into the simulator input file si.inp. You can only run this command if a netlist is already generated.

runsim

Runs the simulator. It performs the following actions:

  • Runs the specified simulator using the si.inp file as its input.
  • Translates waveform output from the simulator to the Cadence Waveform Storage Format (if necessary).
  • Translates names in the text simulator output back to the user-assigned names in your design.

You can only use this command after running the netlist and simin commands to generate the simulator input files.

exit

Exits the simulation environment.

Related Topics

simCheckVariables (SKILL Function)

simInitRunDir (SKILL Function)

netlist (SKILL Function)

simin (SKILL Function)

runsim (SKILL Function)

Types of Simulations in Command-Line Mode


Return to top
 ⠀
X