simin
simin(
)
=> t / nil
Description
Translates the user-assigned names for nets and instances in the control file to the corresponding netlister-assigned names and creates the si.inp file for input to the simulator. A message is printed stating that simin is being run, and then the simInWithArgs function is called with the correct arguments to do the translation.
The following variables are used as arguments to the simInWithArgs function and must be correctly set before calling this function:
simRunDir
simLibName
simCellName
simViewName
All text in the control file is copied to the si.inp file unless the text is surrounded by square brackets ( [ ]). The opening square bracket ([) indicates that the following text up to the closing square bracket (]) is to be interpreted. The entire expression is replaced by the resulting interpreted value. Following the opening square bracket ([) should be one of the following command characters:
|
# [#netname]
|
Replace the [#netname] expression with the netlister-assigned net name for netname.
|
|
$ [$instname]
|
Replace the [$instname] expression with the netlister-assigned instance name for instname.
|
|
! [!filename]
|
Replace the [!filename] expression with the contents of the filename file. If you use a relative pathname, the system will look for the file in the simulation run directory. To access a file outside the simulation run directory, use a full file system pathname. If the file does not exist, an error is generated.
|
|
? [?filename]
|
Replace the [?filename] expression with the contents of the filename file. If you use a relative pathname, the system will look for the file in the simulation run directory. To access a file outside of the simulation run directory, use a full file system pathname. If the 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 /etc/skill/si/caplib/siminout.ile. You can modify this function.
Arguments
None
Value Returned
|
t
|
The command is successful.
|
|
nil
|
The command is unsuccessful.
|
Examples
simin()
Related Topics
OSS Functions
Return to top