Values and expressions
Values can be entered in as standard, scientific, or quasi-SI notation. They can also be entered as expressions using parameters.
Static values
Static values are usually entered as numbers without SI units (for example, 12m instead of 12mV ). Where an SI unit is required, it is derived from the context. For example, if a current source is being configured, the system knows that the value specifies ampere.
Three notations for static values are available:Standard numeric notation
For example: 0.03, 2, 1234, 16777216
Scientific notation
For example: 3e-2, 2e0, 1.234e3, 1.6777216e7
Spice (quasi-SI) notation
For example: 30m, 2, 1.234k, 16.777216meg
The letters supported in this notation are not case-sensitive:
a atto 10-18 f femto 10-15 p pico 10-12 n nano 10-9 u micro 10-6 m milli 10-3 k kilo 103 meg mega 106 g giga 109 t tera 1012
SI units are usually not included (for example, 12m instead of 12mV ). Where an SI unit is required, it is derived from the context. For example, if a current source is being configured, the system knows that the value specifies ampere.
The decimal point is a period in all notations; thousands separators are not supported.
Expressions
To create values that can be changed by centrally modifying
parameters, you can use expressions. Expressions can contain numeric operators (such
as + - * / ^), logic operators (such as = <= >) functions, and parameters that
have been defined in the Parameters tab of the Simulation Environment view. For example, if you
define a parameter "baseRate", you can specify a value as
2*baseRate+1. If baseRate is set to 5 for a simulation, this expression will result in
a value of 11 in the simulation. Details about supported operators and functions can
be found in the Parameters and Arithmetic Expressions section of the Titan reference
manual.
Expressions are evaluated before each simulation run. Certain advanced kinds of expressions can also be evaluated during a simulation, as described in the Types of Expressions section of the Titan reference manual.