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

simFlattenWithArgs

simFlattenWithArgs(
t_simLibName
t_simCellName
t_simViewName
t_simRunDir
t_simNlpGlobalLibName
t_simNlpGlobalCellName
t_simNlpGlobalViewName
l_simViewList
l_simStopList
t_simGlobalErrFileName
t_simProbeFileName
t_simSimulator
f_simTimeUnit
f_simCapUnit
t_simFlatLibName
t_simFlatCellName
t_simFlatViewName
t_simFlatViewTypeName
)
=> t / nil

Description

Runs the prFlatten tool. The design hierarchy is specified by the simLibName, simCellName, and simViewName variables. The global formatting properties are defined in simNlpGlobalLibName, simNlpGlobalCellName and simNlpGlobalViewName. The function is defined in /bin/si and also in the Cadence graphics program.

Arguments

t_simLibName

Name of the library containing the top-level cellview of the design.

t_simCellName

Cell name of the top-level cellview (design) to be netlisted.

t_simViewName

View name of the top-level cellview of the design.

t_simRunDir

Full file system pathname to the simulation run directory. This pathname must be the same as the simRunDir global SE variable, for example,

"/mnt2/user1/simulations/silos1"

t_simNlpGlobalLibName

The name of the library that contains the global cellview. The global cellview defines global format strings. Global format strings, in turn, define the netlist syntax. The library name be the same as the simNlpGlobalLibName global SE variable, for example,

"basic"

t_simNlpGlobalCellName

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

"nlpglobals"

t_simNlpGlobalViewName

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

"verilog"

l_simViewList

View switch list used to determine which view to switch into when a cell has been found. This list must be the same as the simViewList global SE variable, for example,

    list("verilog" "schematic")

l_simStopList

Stopping view list used to determine when to halt the expansion of the hierarchy. This list must be the same as the simStopList global SE variable, for example,

    list("verilog")

t_simGlobalErrFileName

Name of the file that stores global error messages.

t_simProbeFileName

Name of the probe file that stores errors, usually probe.err.

t_simSimulator

Simulator for which the netlist syntax is intended. This simulator name must be the same as the simSimulator SE global environment variable, for example,

"verilog"

f_simTimeUnit

Floating-point time unit factor, for example, 1.0e-9.

f_simCapUnit

Floating-point capacitance unit factor, for example, 1.0e-15.

t_simFlatLibName

Name of the library which contains the flattened cellview.

t_simFlatCellName

Cell name of the flattened cellview.

t_simFlatViewName

View name of the flattened cellview.

t_simFlatViewTypeName

Name of the view type of the flattened cellview.

Value Returned

t

The command is successful.

nil

The command is unsuccessful.

Examples

simFlattenWithArgs( simLibName
simCellName
simViewName
"mnt/dave/chip1/spice1.run"
simNlpGlobalLibName
simNlpGlobalCellName
simNlpGlobalViewName
simViewList
simStopList
"global.err"
"probe.err"
simSimulator
float(simTimeUnit)
float(simCapUnit)
"flat"
"test"
"autoLayout"
"maskLayout"
)

Related Topics

OSS Functions


Return to top
 ⠀
X