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

simout

simout(
)
=> t / nil

Description

Translates the netlister-assigned names for nets and instances in the simout.tmp file to the corresponding user-assigned names and produces the si.out file. The simout.tmp file is normally the simulator text output. A message is printed stating that simout is being run, and then the simOutWithArgs function is called with the correct arguments to do the translation.

The following variables are used as arguments to the simOutWithArgs function. You must  set them correctly before calling this function:

simSedFile simRunDir simLibName simCellName simViewName

All text in the simout.tmp file is copied to the si.out file, unless the text is surrounded by square brackets ( [ ] ). The opening square bracket ([) signals 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 these command characters:

# [#netname]

Replaces the [#netname] expression with the user-assigned net name for netname.

$ [$instname}

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

Because names requiring translation are not output by the simulator surrounded by square brackets ([ ]), the interface developer must provide a sed input script for each simulator that surrounds each name requiring translation with square brackets ([ ]) and inserts the correct command character after the opening square bracket ([). For example, if the name netname needs to be translated back to the user-assigned name for the net, the sed script needs to replace the word netname with [#netname] so that this function translates it.

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 was unsuccessful.

Examples

simout() 

Related Topics

OSS Functions


Return to top
 ⠀
X