Product Documentation
Spectre Circuit Simulator Measurement Description Language User Guide and Reference
Product Version 23.1, June 2023

C


SPICE Compatibility for options supported by MDL

Support the SPICE option .option co=<number>

Spectre supports the SPICE option ".option co=<number>" as described below.

  1. Spectre supports the SPICE option co to control the number of columns in the .print file by mapping it to the Spectre option colslog.
  2. When <number> is defined between (n*15) and ((n+1)*15), then the (n+1) columns with 15 bit per column are printed to the .print file, where n columns is for defined variables and 1 column is for independent variable such as time for transient, frequency for AC analysis and swept parameter for DC analysis.
  3. The default value is 80, printing 6 column data.
  4. The minimum value is 31, printing 2 column data. If it is less than 31, Spectre uses the default value (80) and prints 6 column data.
  5. The co option is not supported in .alter block.

Example 1

.option co=132

Spectre outputs 9 columns on a single line in .print file.

Example 2

Simulator lang=spectre

Opt1 options colslog=60

Spectre outputs 5columns on a single line in .print file.

Support equal interval output for .print

  1. Spectre can print transient results to .print file in equal step (that are defined in .tran statement) by taking advantage of the spectre option printstep.
  2. The value of printstep can be 1 | 0, true | false or yes | no. When printstep=1/true/yes, Spectre prints transient results in equal step as specified in .tran statement. When printstep=0/false/no (default), Spectre prints transient results in non-equal solver time.
  3. The printstep option is not supported in .alter block.

Example 1

.option printstep=1
.tran 1ns 20ns
.print tran v(1)

Spectre prints transient results in an equal interval of 1ns in .print file.

Example 2

Simulator lang=spectre

Opt1 options printstep=yes
Simulator lang=spice
.tran 1u 5m
.print tran v(1)

Spectre prints transient results in an equal interval of 1us in .print file.


Return to top
 ⠀
X