Download S-Edit User Guide

Transcript
Chapter 7: Evaluated Properties and Labels
Expressions as Property Values
Annotate Commands
Built in “annotate “ TCL commands can be used to annotate various values on the schematic, including
values on ports, instance parameters, small signal operating point parameters, model parameters, and
device parameters.
The TCLannotate command supports the following subcommands:
annotate port <PortName>
annotate instance <InstancePropertyName | InstanceLabelSetIndex >
annotate op <SmallSignalName | OpLabelSetIndex>
annotate model <ModelParameterName | ModelLabelSetIndex>
annotate device <DeviceParameterName | DeviceLabelSetIndex>
annotate param <name | ParamLabelSetIndex>
and flags:
-name
returns the name of he parameter, rather then the value
-digits n
Specifies the number of significant digits to present the result, when
it’s a number.
-suffix “string”
Adds the string to the end of the formatted result, in the case when
the formatted result is not empty. This allows constructs such as
“[annotate param 1 -name -suffix =][annotate param 1]”. This avoids
a “=” by itself displayed on the screen if the “=” were placed outside
the [], when the Annotate Param dropdown is set to None.
The InstanceLabelSetIndex, OpLabelSetIndex, ModelLabelSetIndex, and DeviceLabelSetIndex options
refer to the index in the following system properties on the symbol
InstanceLabelSet
List of Instance properties to be displayed by InstanceLabelSetIndex.
InstanceLabelSetIndex = 2 will display the second property in the
InstanceLabelSet list of properties.
OpLabelSet
List of T-Spice Small Signal Operating Point parameters to be
displayed by OpLabelSetIndex. OpLabelSetIndex = 2 will display
the second parameter in the OpLabelSet list of parameters.
ModelLabelSet
List of T-SPice Model parameters to be displayed by
ModelLabelSetIndex. ModelLabelSetIndex = 2 will display the
second parameter in the ModelLabelSet list of parameters.
DeviceLabelSet
List of T-SPice Device parameters to be displayed by
DeviceLabelSetIndex. DeviceLabelSetIndex = 2 will display the
second parameter in the DeviceLabelSet list of parameters.
The display of the param option is controlled by the Annotate Param drop down in the Spice
Simulation toolbar. The drop-down lists the following options:
S-Edit 16 User Guide
164