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

simInWithArgs

simInWithArgs( 
l_fileList
t_runDirName 
t_libName 
t_cellName 
t_viewName
)
=> t / nil

Description

Translates the designer-assigned names for nets and instances in the input files into the corresponding netlister-assigned names and creates the files for input into the simulator.

When the input arguments are processed the following conditions apply:

Therefore, the libName argument must not be nil if the cellName and viewName arguments are used.

All text in the inputFileName file is copied to the outputFileName file, unless it is surrounded by square brackets ([ ]). The opening square bracket ([) specifies that the following text up to the closing square bracket (]) must be interpreted. The entire expression is replaced by the interpreted value.

One of the command characters below must follow the opening square bracket ([):

# [#netname]

Replaces the [#netname] expression with the netlister-assigned node name for netname.

$ [$instname]

Replaces the [$instname] expression with the netlister-assigned instance name for instname.

! [!filename]

Replaces the [!filename] expression with the contents of the filename file. If you use a relative pathname, the system looks for the filename file in the simulation run directory. To access a file outside the simulation run directory, use a full file system pathname. If the filename file does not exist, an error is generated.

? [?filename]

Replaces the [?filename] expression with the contents of the filename file. If you use a relative pathname, the system looks for the filename file in the simulation run directory. To access a file outside the simulation run directory, use a full file system pathname. If the filename file does not exist, no error is generated.

n! [n!filename]

Same as [! filename], except that the contents of the new file are not parsed, and square-bracketed expressions are not interpreted.

n? [n?filename]

Same as [? filename], except that the contents of the new file are not parsed, and square-bracketed expressions are not interpreted.

The function is defined in /bin/si. You cannot modify this function.

Arguments

l_filelist

A list of lists for the input and output file names.

t_runDirName

The name of the simulation run directory. It must be a string name.

t_libName

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

t_cellName

The cell name of the top-level cellview.

t_viewName

The view name of the top-level cellview.

Value Returned

t

The command is successful.

nil

The command was unsuccessful.

Examples

simInWithArgs( list("control" "si.inp") simRunDir
simLibName simCellName simViewName )
simInWithArgs( '((infile1 outfile1)    (infile2 outfile2))
simRunDir simLibName simCellName
simViewName )

Related Topics

OSS Functions


Return to top
 ⠀
X