Product Documentation
Spectre AMS Designer and Xcelium Simulator Mixed-Signal User Guide
Product Version 22.09, September 2022

Switching Languages in the Analog Simulation Control File

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:

     simulator lang=spice

You cannot use Spectre language statements in the SPICE language section of the control file.

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:

     simulator lang=spice lookup=spectre           

You must specify 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






 ⠀
X