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.
-
Spectre supports the SPICE option
coto control the number of columns in the.printfile by mapping it to the Spectre optioncolslog. -
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.printfile, 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. - The default value is 80, printing 6 column data.
- 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.
-
The
cooption is not supported in.alterblock.
Example 1
.option co=132
Spectre outputs 9 columns on a single line in .print file.
Example 2
Opt1 options colslog=60
Spectre outputs 5columns on a single line in .print file.
Support equal interval output for .print
-
Spectre can print transient results to
.printfile in equal step (that are defined in.transtatement) by taking advantage of the spectre optionprintstep. -
The value of
printstepcan be 1 | 0, true | false or yes | no. Whenprintstep=1/true/yes, Spectre prints transient results in equal step as specified in.transtatement. Whenprintstep=0/false/no(default), Spectre prints transient results in non-equal solver time. -
The printstep option is not supported in
.alterblock.
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
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