Although Cadence recommends that you put all your analog control file statements in the Spectre language section of the analog simulation control file, you can switch to the SPICE language.
To do this:
- Specify the following statement at the point in the file:
simulator lang=spice
Using Spectre lookup Rules
You can use Spectre lookup rules so that the simulator is sensitive to the casing of node and hierarchical names but not to the casing of keywords, parameters, and units.
To do this:
- Specify the
lookupoption on thesimulatorlangline.
simulator lang=spice lookup=spectre
lookup=spectre when you use .meas, .probe, and .print SPICE commands. Ensure that use the full hierarchical node name in these commands.At any point where you want to change back to the Spectre language, type the following statement in the file:
simulator lang=spectre
Example
simulator lang=spice lookup=spectre
.meas myMeasure max v(myTop.myNode)
Specifies the .meas statement in the analog simulation control file for a top-level module myTop containing the node myNode.
Related Topics
- Spectre Language Statements in the Analog Simulation Control File
- Passing the Analog Simulation Control File to xrun
- Passing the Analog Simulation Control File to xmsim
