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 |
|---|---|
|
|
Outputs a list of input and output parameter values. |
|
|
Outputs information about inputs. |
|
|
Outputs information about instances. . |
|
|
Outputs information about models. (This setting is effective only for Verilog ® -AMS.) |
|
|
Outputs a terminal-to-node map. |
|
|
Does not print any parameters. |
|
|
Outputs device parameter information about DC operating points. This is the default. To request node voltage output during an operating point analysis, specify the |
|
|
Outputs information about outputs. (This setting is effective only for Verilog-AMS.) |
|
|
Outputs netlist parameter values such as |
|
|
Outputs subcircuit parameters. |
|
|
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 |
|---|---|
|
|
Sends the output to a file that you create. If you use this setting, use the |
|
|
Sends the parameters to the simulator log file. This is the default. |
|
|
Produces no output. |
|
|
Sends the output to rawfile in the format specified by the |
|
|
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 |
|---|---|
|
" |
Specifies a file to receive the output requested by the
where |
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 |
|---|---|
|
|
Does not generate a summary of minimum and maximum parameter values. |
|
|
Generates a summary of only minimum and maximum values. |
|
|
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 |
|---|---|
|
|
Saves all signals. |
|
|
Saves only signals specified with |
|
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 |
|---|---|
|
" |
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 |
|---|---|
|
" |
Specifies the basename for a file into which the DC node voltage values are written in PSF format. The generated file has the name |
Examples
You run a simulation that uses an analog simulation control file called sch.scs with the following contents.
simulator lang=spectrePrintInputParams info what=input where=filetran1 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.
- The
PrintInputParamsanalysis is specified before the transient analysis so thewhat=inputvalues are determined prior to the start of the transient analysis. The information is to be written to a default file, which, in this case, has the namesch.info.input, because the analog simulation control file is calledsch.scsand thewhatparameter has the valueinput.
- The
infotimesparameter on thetran1statement specifies that the analysis specified by theinfonameparameter (PrintOppoint) is to run twice during the transient analysis, at 50 nanoseconds and 150 nanoseconds. ThePrintOppointanalysis is specified by the last line in the analog simulation control file.
- The
PrintNodesParamsinformation is to be written to the file specified by thefile="./nodes.txt"value. The listing is to have the subheadingNodes and Valuesso that the result looks like this:***************************************
Terminal to Node Map `PrintNodesParams'
***************************************
Nodes and Values
ThePrintNodesParamsinformation is determined after the transient analysis ends because thePrintNodesParamsanalysis is specified after the transient analysis is specified.
