Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

simNetlistWithArgs

simNetlistWithArgs( 
t_simLibName
t_simCellName
t_simViewName 
t_simRunDir 
t_simNlpGlobalLibName
t_simNlpGlobalCellName
t_simNlpGlobalViewName
l_simViewList
l_simStopList 
t_simGlobalErrorFileName 
t_simProbeFileName 
t_simSimulator 
f_simTimeUnit 
f_simCapUnit 
t_simNetlistFileName
t_simFlatViewTypeName
)
=> t / nil

Description

Generates a flattened description of the design hierarchy specified by simLibName, simCellName, and simViewName in the syntax described by the global formatting properties in simNlpGlobalLibName, simNlpGlobalCellName and simNlpGlobalViewName.

In addition to specifying the input parameters, you must set the following variables from the SE global environment before calling this function:

simNetNamePrefix
simInstNamePrefix
simModelNamePrefix

These variables are used by the simNetlistWithArgs SKILL function.

The variables generate unique names during netlisting. The netlister uses these string prefixes and adds a unique number as a suffix to each of them to create a unique name. If you set these variables to nil, the netlister generates the unique number as output but does not add a string prefix to the number.

The function is defined in /bin/si and also in the Cadence graphics program. You cannot modify this function.

Arguments

t_simLibName

The name of the library containing the top-level cellview of the design.

t_simCellName

The cell name of the top-level cellview (design) to be netlisted. For example:

"alu" 

This cell name must be the simCellName global SE variable.

t_simViewName

The view name of the top-level cellview of the design.

t_simRunDir

The full file system path name to the simulation run directory. This path name must be the same as the simRunDir global SE variable. For example:

"/mnt2/user1/simulations/silos1" 

t_simNlpGlobalLibName

The name of the library which contains the global cellview that defines the global format strings. The format strings define the netlist syntax. This library name must be the same as the value of the simNlpGlobalLibName global SE variable. For example:

"basic"

t_simNlpGlobalCellName

The cell name of the global cellview which contains the global format strings that define the netlist syntax. This cell name must be the same as the value of the simNlpGlobalCellName global SE variable. For example:

"nlpglobals"

t_simNlpGlobalViewName

The view name of the global cellview which contains the global format strings that define the netlist syntax. This view name must be the same as the value of the simNlpGlobalViewName global SE variable. For example:

"verilog"

l_simViewList

The view switch list that determines which view to switch into when a cell has been found. This list must be the same as the value of the simViewList global SE variable. For example:

list("verilog" "schematic")

l_simStopList

The stopping view list that determines when expansion of the hierarchy is halted. This list must be the same as the value of the simStopList global SE variable. For example:

list("verilog")

t_simGlobalErrorFile

The name of the file for storing global error messages.

t_simProbeFileName

The name of the probe file for storing errors, usually probe.err.

t_simSimulator

The simulator for which the netlist syntax is intended. This simulator must be the same as the value of the simSimulator SE global environment variable. For example:

"verilog"

f_simTimeUnit

The floating-point time unit factor. For example, 1.0e-9.

f_simCapUnit

The floating-point capacitance unit factor. For example, 1.0e-15.

t_simNetlistFileName

The name of the file in which the netlist is stored. For example:

"/mnt/user1/simulations/silos1/netlist"

Value Returned

t

The netlist process does not detect any errors.

nil

The netlist process detected an error.

Examples

simNetlistWithArgs( 
simLibName
simCellName
simViewName
simRunDir
simNlpGlobalLibName
simNlpGlobalCellName
simNlpGlobalViewName
simViewList
simStopList
"global.err"
"probe.err"
simSimulator
float(simTimeUnit)
float(simCapUnit)
"/mnt/user1/simulations/silos1/netlist
)

Related Topics

OSS Functions


Return to top
 ⠀
X