Product Documentation
Simulation Environment Help
Product Version IC23.1, June 2023

Substitution Functions

If needed, Simlation Environment (SE) maps the names assigned on your schematic to names that are valid in the simulator syntax. When you refer to the name of a net, instance, or file in your control file or an included file, you must use the appropriate substitution to ensure correct translation.

The following table lists the substitution functions provided by SE:

Function Description

[#netname]

Replaces [#netname] with the netlister-assigned name of the net corresponding to netname.

[$instname]

Replaces [$instname] with the netlister-assigned name of the instance corresponding to instname.

[!filename]

Replaces [!filename] with the contents of the file named filename and continues to do substitutions in the included file.

[?filename]

Same as [!filename] except no error message is reported if the file does not exist.

[n!filename]

Replaces [n!filename] with the contents of the file named filename and does not do substitutions in the included file.

[n?filename]

Same as [n!filename], except no error message is generated if the file does not exist and no substitutions are done in the included file.

Related Topics

Netlist Generation and Customization

Netlist Customization With the .simrc File

Variables for Incremental Netlisting

Customization of Scale Factors

Location of the .simrc File


Return to top
 ⠀
X