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

info Statement

The info statement outputs several kinds of information about circuits and components. You can use various filters to specify what information is output. You can create a listing of model, instance, temperature-dependent, input, output, and operating-point parameters. You can generate a summary of the minimum and maximum parameter values, and you can request that the simulator provide a node-to-terminal map or a terminal-to-node map.

When the info statement precedes the transient analysis statement, the simulator performs the info analysis at time zero before the transient analysis begins. When the info statement follows the transient analysis statement, the simulator performs the info analysis after the transient analysis finishes.

name  info  parameter=value  { parameter=value }

For parameter, you can substitute what, where, file, extremes, save, title, and writedc as described in the following sections.

what

The what parameter of the info statement specifies what parameters are to be output. The values that you can use with the what parameter are listed in the following table. Unless specifically noted in the Action column, these parameters are supported only by the Spectre and APS solvers.

Settings

Action

all

Outputs a list of input and output parameter values.

input

Outputs information about inputs.

inst

Outputs information about instances. .

models

Outputs information about models. (This setting is effective only for Verilog ® -AMS.)

nodes

Outputs a terminal-to-node map.

none

Does not print any parameters.

oppoint

Outputs device parameter information about DC operating points. This is the default.

To request node voltage output during an operating point analysis, specify the info writedc parameter.

output

Outputs information about outputs. (This setting is effective only for Verilog-AMS.)

parameters

Outputs netlist parameter values such as temp and tnom. (This setting is effective only for Verilog-AMS.)

subckts

Outputs subcircuit parameters.

terminals

Outputs a node-to-terminal map.

where

The where parameter of the info statement specifies a destination for the information you want the simulator to output. You can specify the following where parameter settings whether you are using the AMS Designer simulator with the Spectre solver or the APS solver:

Settings

Action

file

Sends the output to a file that you create. If you use this setting, use the file parameter to specify the output file.

logfile

Sends the parameters to the simulator log file. This is the default.

nowhere

Produces no output.

rawfile

Sends the output to rawfile in the format specified by the options statement rawfmt parameter. The rawfile is .raw/myinfo.info where myinfo is the name of the info statement.

screen

Displays the output on a screen.

file

The file parameter of the info statement specifies where the values of the info analysis are saved when the where parameter of the info statement is set to file. The file parameter is supported only by the Spectre solver and the APS solver.

Settings

Action

"filename"

Specifies a file to receive the output requested by the info statement. This is the file that is used when you specify the where=file parameter and setting. The default value is

scs.info.what_setting

where scs is the basename of the analog simulation control file that specifies the command, and what_setting is the active value for the info -what parameter.

extremes

The extremes parameter of the info statement generates a summary of maximum and minimum parameter values. The extremes parameter is supported only by the Spectre solver and the APS solver.

The values that you can use with the extremes parameter are listed in the following table.

Settings

Action

no

Does not generate a summary of minimum and maximum parameter values.

only

Generates a summary of only minimum and maximum values.

yes

Generates a summary of minimum and maximum values, including information on the other values that contribute to the extreme values. This is the default.

save

The save parameter of the info statement specifies signals to save during a transient or AC analysis, or during a DC analysis specified by an info writedc statement. The save parameter is supported only by the Spectre solver and the APS solver.

You values that you can use with the save parameter are listed in the following table.

Settings

Action

all

Saves all signals.

selected

Saves only signals specified with save statements.

none

Saves all signals.

title

The title parameter of the info statement specifies a name for the analysis. The title parameter is supported only by the Spectre solver and the APS solver.

Settings

Action

"title"

Specifies a subheading for the analysis. The subheading appears at the top of the analysis output, just below the name of the analysis.

writedc

The writedc parameter of the info statement outputs the DC node voltages in PSF format. The writedc parameter is supported only by the Spectre solver and the APS solver.

Settings

Action

"filename"

Specifies the basename for a file into which the DC node voltage values are written in PSF format. The generated file has the name filename.dc.

Examples

You run a simulation that uses an analog simulation control file called sch.scs with the following contents.

simulator lang=spectre
PrintInputParams info what=input where=file
tran1 tran stop=14us errpreset=moderate maxiters=10 cmin=10f
    infoname=PrintOppoint infotimes=[50n 150n]
PrintNodesParams info what=nodes where=file file="./nodes.txt"
    title= "Nodes and Values"
PrintOppoint info what=oppoint where=file file="./oppoint.txt"

This example illustrates some of the combinations that you can specify.

Related Topics



 ⠀
X