The digital logic simulators in TDX use two logic levels (0, 1),
and three strengths (Active, Passive, Floating). Unknown (X) states
represent ranges of ambiguity. The following logic states
are used by the simulators
(the single character before the colon is the single print character
for the state):
0 : Active 0
1 : Active 1
X : Active X: the range from A0 to A1
L : Passive 0
H : Passive 1
W : Passive X: the range from P0 to P1
V : Floating 0
A : Floating 1
Z : Floating X: the range from F0 to F1, High-Impedance Z
N : Active-Passive 0: the range A0 to P0 (AP0)
P : Active-Passive 1: the range A1 to P1 (AP1)
Q : Passive-Floating 0: the range P0 to F0 (PF0)
J : Passive-Floating 1: the range P1 to F1 (PF1)
G : Active-Floating 0: the range A0 to F0 (AF0)
K : Active-Floating 1: the range A1 to F1 (AF1)
R : Passive-Floating X: the range P1 to F0 (PFX)
F : Floating-Passive X: the range F1 to P0 (FPX)
T : Active-Floating X: the range A1 to F0 (AFX)
B : Floating-Active X: the range F1 to A0 (FAX)
D : Active-Passive X: the range A1 to P0 (APX)
E : Passive-Active X: the range P1 to A0 (PAX)
U : Un-initialized: net never initialized
C : Conflict: bus simultaneously driven by A1 and A0
The following print characters are used for "jedec" and "bidir" buses:
0 : Force A0 in
1 : Force A1 in
L : Compare A0 out, and force FX in if bidirectional pin
H : Compare A1 out, and force FX in if bidirectional pin
Z : Compare F0, F1, or FX out, force FX in if bidirectional pin
F : Don't care (X) out, force FX in (only for bidirectional pin)
X : Don't care (X) out, force previous pin value in ("jedec" bus)
X : Don't care (X) out, force FX in ("bidir" bus)
Timeplates are used to define the pin timing used during simulation.
The timeplate syntax is defined in the TSSI WGL test vector language.
The following state characters are used in timeplates:
D : Force A0 in
U : Force A1 in
N : Force AX in
Z : Force FX in
S : Force value from input vectors
C : Force complement of value from vector
P : Force previous pin value
L : Compare A0 out
H : Compare A1 out
X : Don't care (X) out (no value strobe)
T : Compare F0, F1, or FX out
Q : Compare value from vector pattern out
R : Compare complement of value from vector
0 : Unknown direction 0
1 : Unknown direction 1
F : Unknown direction Z
? : Unknown direction X
The following is a simple example of a timeplate definition:
timeplate TIMEPL period 100ns
READY := output [ 0ns:X, 80ns:Q'edge ];
DATABUS := output [ 0ns:X, 80ns:Q ]; # bidir bus
DATABUS := input [ 0ns:S ]; # bidir bus
CLK := input [ 0ns:D, 10ns:S, 80ns:D ]; # rz
RESET := input [ 0ns:S ];
end
To create a template for editing, try the following command from
interactive TDX-FSIM, TDX-LSIM, TDX-IDDQ, TDX-STEP, or TDX-ATG:
show default_timeplate > template_file
Stuck-at faults in TDX can have the following status values
(the code is used in ".flt" files):
- undetected
- Not yet detected. The vector set did not produce any
observable response which would have distinguished good-machine from the
machine with the fault (faulty-machine). Code 0.
- detected
- Hard Detected. The vector set had at-least one known (non X)
observable response for which the good-machine and faulty-machine differed during
fault simulation. Code 1.
- probable
- The fault was not hard detected but there were at least `n' responses
for which the good-machine had a known value but the faulty machine had X on one or
more observable net(output). The parameter `n' has a default value of 5 but can be
changed by the probable option. Code 2.
- undetectable
- Fault is undetectable. That is there is no way to distinguish
the good-machine from the machine with the fault. For example, S-A-1 on a pin connected
to VDD or S-A-0 on a pin connected to GND. Such undetectables are, by default, deleted
by fcomp. TDX-ATG can also classify faults as undetectables if an exhaustive search
fails to produce a test for a fault. Code 3.
- atg_gave_up
- tdx_atg's search for a vector exceeded time or
other threshold. Code 4.
- hyperactive
- Either a
hyperactive fault (ie
too much time spent evaluating fault effects) or a
hypertrophic fault
(ie too much memory consumed in storing the faulty circuit).
Code 5.
- suspended
- Suspended either by the user (at the ctrl-C prompt)
or auto suspend due to exceeding mem
limit. Code 6.
- unexpected
- Internal software error condition detected. Code 7.
- ignore
- Undetectable tied to supply 0/1. Code 8.
- atg_wont
- Fault can only be X (probable) detected. Code 9.
- oscillates
- These faults have caused:
- zero-delay oscillation
- oscillations that do not stabilize in the machine cycle
Code 10.
The following primitives and parameters are supported in Verilog
netlists (parameters are in parenthesis, and TDX pin names follow
the parenthesis):
and (rise, fall, strength0, strength1) Z A B ... Y AA AB ...
nand (rise, fall, strength0, strength1) Z A B ... Y AA AB ...
or (rise, fall, strength0, strength1) Z A B ... Y AA AB ...
nor (rise, fall, strength0, strength1) Z A B ... Y AA AB ...
buf (rise, fall, strength0, strength1) Z A
not (rise, fall, strength0, strength1) Z A
xor (rise, fall, strength0, strength1) Z A B
xnor (rise, fall, strength0, strength1) Z A B
bufif0 (rise, fall, turn_off_delay, strength0, strength1) Z A EN
bufif1 (rise, fall, turn_off_delay, strength0, strength1) Z A EN
notif0 (rise, fall, turn_off_delay, strength0, strength1) Z A EN
notif1 (rise, fall, turn_off_delay, strength0, strength1) Z A EN
nmos (rise, fall, turn_off_delay) D S G
pmos (rise, fall, turn_off_delay) D S G
rnmos (rise, fall, turn_off_delay) D S G
rpmos (rise, fall, turn_off_delay) D S G
cmos (rise, fall, turn_off_delay) D S NG PG
rcmos (rise, fall, turn_off_delay) D S NG PG
pullup (strength1) Z
pulldown (strength0) Z
TDX_DLATCH (rise, fall, strength0, strength1) Q D EN SET CLR
TDX_DFF1 (rise, fall, strength0, strength1) Q D CK SET CLR
TDX_RAM (rise, fall, strength0, strength1) DO DI WE A0 ... An
TDX_MPRAM (rise, fall, strength0, strength1) DO DIA WEA DIB WEB REC A0 ... An
TDX_CRAM (rise, fall, strength0, strength1) DO DI WE FC FCV A0 ... An
TDX_CMPRAM (rise, fall, strength0, strength1) DO DIA WEA FC FCV DIB WEB REC A0 ... An
WIRED_AND (rise, fall, turn_off_delay) Z A B ... AA AB ...
WIRED_OR (rise, fall, turn_off_delay) Z A B ... AA AB ...
WIRED_BUS (rise, fall, turn_off_delay) Z A B ... AA AB ...
WIRED_REG (rise, fall, turn_off_delay) Z A B ... AA AB ...
WIRED_TRI0 (rise, fall, turn_off_delay) Z A B ... AA AB ...
WIRED_TRI1 (rise, fall, turn_off_delay) Z A B ... AA AB ...
TDX_DEL (rise, fall, turn_off_delay) Z A
UDPs (rise, fall, strength0, strength1) user-defined pin names
UDPs are "User Defined Primitives."
The delays may be specified as min:typ:max groups.
The wired gates are resolution function gates inserted by the Verilogt compiler.
The TDX_DLATCH, TDX_DFF1, TDX_RAM, and TDX_MPRAM are special-purpose UDP
gates for latches, FFs, and memories. The TDX_DLATCH and TDX_DFF1 preset (SET)
and clear (CLR) pins are active low (0), and are asynchronous.
The ram write-enable pins (WE, WEA, and WEB) are level-sensitive, and are
write-active high (1). TDX_RAM address pin A0 (first address pin) is the least
significant bit of the address. The TDX_MPRAM REC pin is not used for simulation.
TDX_MPRAM A and B ports are write-only, and the C port is read-only.
TDX_MPRAM A port address pins are the first one-third of A0 ... An.
TDX_MPRAM B port address pins are the second one-third of A0 ... An.
TDX_MPRAM C port address pins are the last one-third of A0 ... An
The following primitives and parameters are supported in VHDL
netlists (parameters are in parenthesis, and TDX pin names follow
the parenthesis):
AND_GATE (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A B ... Y AA AB ...
NAND_GATE (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A B ... Y AA AB ...
OR_GATE (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A B ... Y AA AB ...
NOR_GATE (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A B ... Y AA AB ...
BUF (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A
INV (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A
XOR_GATE (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A B
XNOR_GATE (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A B
BUFIF1 (tplh, tphl, tplhf, tphlf, load, turn_off_delay, strg0, strg1) Z A EN
BUFIF0 (tplh, tphl, tplhf, tphlf, load, turn_off_delay, strg0, strg1) Z A EN
NOTIF1 (tplh, tphl, tplhf, tphlf, load, turn_off_delay, strg0, strg1) Z A EN
NOTIF0 (tplh, tphl, tplhf, tphlf, load, turn_off_delay, strg0, strg1) Z A EN
NMOS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) D S G
RNMOS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) D S G
PMOS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) D S G
RPMOS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) D S G
CMOS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) D S NG PG
RCMOS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) D S NG PG
PULLUP (strg1) Z
PULLDOWN (strg0) Z
DLATCH (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Q D EN SET CLR
DFF1 (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Q D CK SET CLR
RAM (tplh, tphl, tplhf, tphlf, load, strg0, strg1) DO DI WE A0 ... An
MPRAM (tplh, tphl, tplhf, tphlf, load, strg0, strg1) DO DIA WEA DIB WEB REC A1 ... An
WIRED_AND (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_OR (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_BUS (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_REG (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_F0 (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_F1 (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_TRI0 (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
WIRED_TRI1 (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A B ... Y AA AB ...
DEL (tplh, tphl, tplhf, tphlf, load, turn_off_delay) Z A
TSB (tplh, tphl, tplhf, tphlf, load, tplz, tpzl, tphz, tpzh, strg0, strg1) Z EN A
TSI (tplh, tphl, tplhf, tphlf, load, tplz, tpzl, tphz, tpzh, strg0, strg1) Z EN A
BUFF (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A
INVF (tplh, tphl, tplhf, tphlf, load, strg0, strg1) Z A
Delays (tplh, tphl, etc.) are in 0.1ns units.
Load factors (tplhf and tphlf) are in ps/pf units. Loads are in pf.
The load delay calculation is performed by the "loaddc" program which
will update the binary model.ckt file. The simulators will not process
the load delay data, but will use the new delays calculated by loaddc.
Strengths (strg0 and strg1) are 0 active, 1 passive, and 2 floating.
The wired gates are resolution function gates inserted by the Vhdlt compiler.
The DLATCH, DFF1, RAM, and MPRAM are special-purpose primitives for latches, FFs,
and memories. The DLATCH and DFF1 preset (SET) and clear (CLR) pins are active
low (0), and are asynchronous.
The RAM write-enable pins (WE, WEA, and WEB) are level-sensitive, and are
write-active high (1).
RAM address pin A0 (first address pin) is the least significant bit of the address.
MPRAM A and B ports are write-only, and the C port is read-only.
MPRAM A port address pins are the first one-third of A0 ... An.
MPRAM B port address pins are the second one-third of A0 ... An.
MPRAM C port address pins are the last one-third of A0 ... An.
Internal Commands
Most of the following commands are generic to all the tdx simulators.
For more specific lists of commands, listed by functionality, see the
following:
Set/show the option to accelerate fault simulation.
Possible option levels are 0 (no acceleration), and 1 (first level).
With acceleration, some accuracy may be lost in the fault detection
results of asynchronous circuits for a very small percentage (less than
1/2%) of the faults. The final detected/undetected status is usually not
affected. In some circuits with many X values in the good circuit,
the detected/probably detected status may be affected. When the
accelerate level is 1, the fault simulation performance may double.
The default accelerate level is 1 (acceleration).
Set/show the option to issue a breakpoint when nets go unknown.
To show the option, use the command without an argument. The option
value can be changed to "off", "reg", "all" or "c". With "all", a
breakpoint will occur when any net executes a non-X to X event.
With "reg", the breakpoint will be issued only when flip-flop or latch
elements go to the X state. With "c", a breakpoint will be issued
when any bus conflict state (C) event is executed.
Define a formatted bus consisting of the named nets.
Buses are used to group multiple nets into a single entity,
and to assign a format to the entity. Buses can be included
as elements within vectors, and can also be used in timeplates.
The pre-defined buses include "allinput", "alloutput", "allbidir",
and "all". These buses contain nets that are pins on the circuit
model (top-level entity). The bus "allbidirin" contains the
input side of bidirectional ports.
New buses can be defined and existing buses can be
redefined by:
bus <bus name> <format> <netname 1> ... <netname n>
The format of an existing bus can be changed by:
bus <bus name> <format>
Valid format options are "hex", "octal", "decimal", "binary", "jedec".
The format option "bidir" is the same as "jedec", except that an X on a
bidirectional pin will drive "previous value" in "jedec" but will not
drive (drive Z) in the "bidir" format.
Buses can be included in the "print" and "testvec" vectors in order to
produce formatted output (see "vector" command). Buses can also be
included in the "in" vector for formatted input stimulus. The "bidir"
format primarily joins split bidirectional pins, and can be used for
both input and output.
Set/show the option to check valid IDDQ states.
This will test for valid states in the circuit before performing
an IDDQ measurement strobe. Invalid states may cause high IDDQ
current when faults are not present. When this option is "on" the
circuit is tested for bus conflicts (C state caused by A0 and
A1 drivers at a net), and for pull-up/pull-downs being overridden
(including weak/pull driver gates). When the option is "all", the
circuit is also tested for Z inputs (F0, F1, FX) at logic gates.
To show the option, use the command "check_strobe_iddq". To change
the option, use the command with an argument. The option value can
be changed to "on", "off", or "all". When a violation is found
IDDQ strobing will not be performed, but counting (count_iddq
command) can still be performed. The default value is "off".
The check option value can optionally be followed by a report
option "summary", "off", or "all". This controls the amount of
violation reporting. This default is "summary". The check option
can be followed by "allow_events", "no_allow_events", "allow_charged"
and/or "no_allow_charged". The "allow_events" option disables the
pending events check, and the "allow_charged" option will allow
floating 0/1 (F0, F1) values at buses. The defaults are
"no_allow_events", and "no_allow_charged".
Set/show the option to check valid IDDQ states
during toggle select mode. This will test for valid states in
the circuit before performing an IDDQ toggle select strobe. Invalid
states may cause high IDDQ current when faults are not present.
When this option is "on" the circuit is tested for bus conflicts
(C state caused by A0 and A1 drivers at a net), and for pull-up/-downs
being overridden (including weak/pull driver gates). When the option
is "all", the circuit is also tested for Z inputs (F0, F1, FX) at logic
gates. To show the option, use the command "check_toggle_strobe".
To change the option, use the command with an argument. The option
value can be changed to "on", "off", or "all". When a violation is
found IDDQ toggle select strobing will not be performed. command)
can still be performed. The default value is "off". The check option
value can optionally be followed by a report option "summary", "off",
or "all". This controls the amount of violation reporting. This default
is "summary". The check option can be followed by "allow_events",
"no_allow_events", "allow_charged" and/or "no_allow_charged". The
"allow_events" option disables the pending events check, and the
"allow_charged" option will allow floating 0/1 (F0, F1) values at buses.
The defaults are "no_allow_events", and "no_allow_charged".
Set/show the compare expected output states option.
When this option is on, expected output pin states that appear
in the input or seed vector file will be compared to the actual
simulation state of the pin on each vector. Mismatches are reported
as warning errors. All output pins need not be specified in the
input vector file, and X expected values are not compared. When a
mismatch occurs during fault simulation or atg, the fault detection
strobe is not performed at the pin, and an X is written to the
output test vector (tvc) file. To see the current state of this
option, enter the command "compare_outputs". To change the option,
enter the command with an argument. The argument can be "on" or "off".
The default value is "on". The compare_outputs option value can
be followed by a report option, "summary", "all" or "off". The "all"
report prints a message for each pin mismatch, the "summary" only
prints a count of the number of mismatches per vector, and "off"
prints no messages, but the overall match and mismatch count is
available in the output log file. The default report is "all".
Set/show the option to count the number of IDDQ detections.
The command "count_iddq" without an argument will display the current value
of the option. The option value can be changed to "on", "off", or "now".
The "on" and "off" options are used to enable and disable automatic counting
at the end of each vector. The "now" option will perform the counting
at the current time only. The report is written to the screen when the "now"
option is used. The report for "on" is written to model.idq.
The default is off.
Set/show the file to which fault detections are being written.
Without an argument, display the current DCT file. With an argument,
close the current DCT file and open a new DCT file. The DCT file output can
be turned-off by "dct null". The command "dct on" creates a file using the
default name model.dct. The file name can optionally be followed by one
of "compact" or "no_compact". With "compact", gate and net numbers are
written to the DCT file rather than full hierarchical names. This is
used to reduce the size of the file when creating fault dictionaries.
Internal debug routine.
Setting "debug 1" will turn-on display of fault effects when the "show"
command is used on to display a gate. Only for stuck-at faults.
Define a new command name. Command name is argument.
The command name can be alphanumeric, and may contain an underscore ("_").
Definition appears on following lines, one command per line. End
with a line containing just "end". Use the "document" command
to give documentation for the new command. Commands defined in
this way do not take arguments. Double dashes "--" can be used to
begin a comment. The comment is not saved or executed.
Set/show the gate/net min/typ/max delay option for Verilog circuits.
The command without a value will display the current delay option. To change
the option, use "min", "typ" or "max" as an argument with the "delay" command.
The default is "typ".
Delete breakpoint (stop command). Use "stop" to see
the current breakpoint list. Each breakpoint has an integer id.
Enter "delete id" to delete one or more breakpoints. Enter "delete all"
to delete all breakpoints.
Set/show the option to detect stuck-at fault conflicts
by IDDQ. The command "detect_cf_iddq" without an argument will display the
current value of the option. The option value can be changed to "on" or "off".
When "on", classical stuck-at 0/1 faults that cause bus conflict (C) states
will be marked "detected", and will not be fault-simulated further. The
conflict state is generated when a wired net is driven to both A0 and A1
which can be detected by increased IDDQ. This option is only enabled when
an iddq strobe is performed (see the "strobe_iddq" command).
The default value is "off".
Set/show the option to use high-z net strengths when performing
fault detection. When this option is on, faults are detected when the good
value is ACTIVE/PASSIVE and the faulty net is FLOATING (and visa-versa).
The default is on.
Set/show the option to detect stuck-at faults by IDDQ.
The command "detect_sa_iddq" without an argument will display the current
value of the option. The option value can be changed to "on" or "off".
When "on", classical stuck-at 0/1 faults that will cause increased IDDQ
will be marked "detected", and will not be fault-simulated further. Most
faults that create visible active-states (fault A0/A1, non-fault A1/A0)
can be detected by increased IDDQ. This option is used to create an IDDQ
oriented test vector set. This option is only enabled when an iddq strobe
is performed (see the "strobe_iddq" command). The default value is "off".
Set/show the option to use net strengths when performing
fault detection. When this option is off, fault detection compares
only 0/1/X logic level, ignoring ACTIVE/PASSIVE/FLOATING net strengths.
When off, good F0 and faulty F1 will count as a detection. This option
is intended to provide compatibility with Zycad (option value off). The
default is on.
Document a user-defined command.
Give command name as argument. Give documentation on following lines.
End with a line containing just "end".
Set/show "echo command" mode. Commands will be written
to the "model.ech" file when executed.
Print a constant string. Give string as argument.
C escape sequences may be used in the argument. No newline is
added at the end of the argument. Use "\n" if you want a newline
to be printed.
Set/show the IDDQ fault model file.
The command "fmd" without an argument will display the current IDDQ
fault model file name. With an argument, the file name is changed. The
default file name is model.fmd in the working directory. If this file is
not present, the "iddq.fmd" file in the TDX release directory is used.
Freeze a net or element pin to a specified value
or to its current value if no value is specified. Examples: "freeze q"
and "freeze q AX". The net or pin is released by using the unfreeze
command. A pin (element pin) is frozen with "freeze element_name.pin_number"
(for example "freeze gateff.2" for pin 2 of gateff). The pin_name can
also be used in this command ("freeze gate.clk"). The set command can
be used to temporarily change the state of a net or pin. A freeze
command without an argument will print the current list of frozen
nets and pins.
Set/show the threshold for dropping hard detected faults.
A fault must be hard (0/1 or 1/0) detected "threshold" number of times
before it is dropped from simulation. Only one hard detect is required
for the fault to be "detected" in the output report files. This command
is used to generate fault dictionaries with multiple hard detects per fault.
To show the threshold, use the command "hard". To set or change the
threshold, use the command "hard n", where "n" is the number of hard
detections that should occur before dropping. The threshold should be
greater than or equal to 0, and less than 65536. The default is 1.
Setting the value to 0, disables dropping hard detected faults.
Print a list of command classes ("help").
Print the commands within each class ("help control").
Also print a description of an individual command ("help show").
Set/show the threshold for dropping activity intensive faults.
These faults require too many element evaluations before they
are detected. To show the threshold, use the command "hyperactive".
To set or change the threshold, use the command "hyperactive n", where "n"
is a percentage of the number of good circuit element evaluations. The
value should be greater than or equal to 0. The default value is 500:
if the number of explicit element evaluations in a faulty machine is 5
times greater than the number of evaluations in the good machine, the fault
is dropped as hyperactive. The faulty machine evaluation count does not
include implicit evaluations that are part of the concurrent fault simulation
algorithm. Setting the value to 0 disables dropping hyperactive faults.
Set/show the threshold for dropping memory intensive faults.
These faults use too much virtual memory before they are detected.
To show the threshold, use the command "hypertrophic". To set or change
the threshold, use the command "hypertrophic n", where "n" is a
percentage of the number of nets in the circuit. The value should be
greater than or equal to 0. For circuits with less than 1000 nets, the
default is 0. For circuits with 1000 to 2000 nets, the default is 150.
Otherwise, the basic default value is 50: if a fault diverges more fault
effects than 50% of the number of nets in the circuit, the fault is dropped
as hyperactive. A fault effect exists at both output and input pins, so a
hypertrophic value greater than 100 is acceptable even though it is a percentage.
Setting the value to 0 disables dropping hypertrophic faults.
Set/show the option to report undetected IDDQ faults.
The command "iddq_report_iut" without an argument will display the current
value of the option. The option value can be changed to "on", "off" or "now".
The report is always written to the model.iut file. When "now" is used,
the report is written immediately. When the option value is "on", the
report is written at the end of the simulation run. The default is "off".
Set/show the option to set a net to 1 when an IDDQ strobe
is performed. This net is usually a pin in the vector file that will be
used as the "strobe select" flag on the tester, or as an input "strobe select"
flag for subsequent IDDQ runs. Example commands are "iddq_set_net netA"
and "iddq_set_net Iddq_Strobe_Pin". The net name specified is normally an
otherwise undriven net. It is usually necessary to create an output vector
file when using this option. See the "tvc" command to enable the creation
of an output vector file. Using the "iddq_set_net" command will not
automatically cause the creation of an output vector file. When
"iddq_set_net" is used, the "STROBE_IDDQ" commands normally written
to the output vector file are replaced by the pin state "strobe select"
flag. The position of the "iddq_set_net" pin in the output vector file
should be specified with the "vector testvec" command. To turn-off the
option, enter "iddq_set_net null".
Adds specific shorts to the IDDQ fault list.
The command is used to define pairs of nets that will be shorted
along with all of the implied transistor fault model shorts from the
fmd file. When an IDDQ strobe is performed, each pair of "iddq_short"
nets is examined, and marked as detected when the nets are in opposite
active states (A0/A1). The command is "iddq_short [netA netB]", but
the names can also be "element_name.pin name_name". This command can
contain more the one pair, and the command can be used more than once.
If the command is used without any nets, a summary is printed.
Set/show the limit on number of IDDQ measurement strobes.
To show the limit, use the command "iddq_strobe_limit". To change
the limit, use the command "iddq_strobe_limit n", where "n" is the
new limit. Setting the limit to 0 means there is no limit.
The default value is no limit.
Read commands from a named file. For example, "include startup".
Note that a single startup file is read automatically in this way
when the program is started. The search order for startup files is:
"model.atginit", "model.fsiminit" or "model.lsiminit" specifically for atg,
fsim or lsim runs, "model.siminit", and "model.tdxinit". A file named ".tdxinit"
in the user's home directory can also contain startup commands. The home ".tdxinit"
file is always read in addition to the other startup files described above. Double
dashes "--" can be used to begin a comment in these files. Also, long lines can be
continued onto the next line with a backslash "\". The command "source" is
equivalent to "include".
Generic command for printing status and information.
For example, "info version" will print the program version number.
Enter "info" to find a list of the items that can be printed.
List of info subcommands:
version -- Report the program release number.
primitives -- Describe the primitive element types supported.
breakpoints -- List existing breakpoints and their status.
tssi_states -- Describe the TSSI timeplate state symbols.
detection -- List fault detection status.
statistics -- List circuit and simulation statistics.
states -- Describe the logic state display symbols.
Type "help info" followed by info subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
Set/show the unassigned initial net state for simulation.
The default initial state is Z (floating X). This command can be used to
change the value to 0, 1, Z, X, or any other state supported by the simulator
(PX, P0, FAX, etc.). This command can also be used to setup random initial states
with "init_state random [seed]", where "seed" is an optional integer value
to seed the random number generator.
Duplicate input vector patterns at two nets.
Example "join_signals CK1 CK2 !", where CK1 and CK2 are primary inputs,
and "!" is optional. When a state for CK1 is read from the input
vectors, the state will also be applied to the CK2 net, or vice versa.
The "!" will make CK1 and CK2 to be phase shifted by 180 degrees.
If "!" is missing they will in phase. "join_signals CK1" will remove
all join signals associated with CK1. To see the currently active
join_signals use the command without arguments. Signals may be
cascaded in order to create a group. Example: "join_signals CK1 CK2"
and "join_signals CK2 CK3", where CK1, CK2 and CK3 will all toggle
simultaneously. The join_signals command does not duplicate timeplate
waveforms at the two nets, but simply duplicates the input vector
pattern state. If a timeplate is used to define a net in a group as a
RZ or a R1 clock, then they should all be defined as clocks (RZ or R1).
When cascaded join_signals commands are used, a recursive loop should
not be created. The join_signals list is not applied during scan
vector reformatting (see the "reformat_scan_in" command).
Set/show the option to keep simulating probably detected faults.
When on, faults that have met the probable detection threshold will
continue to be simulated to try to find a hard detection. When off,
faults that meet the probable detection threshold are dropped from
further simulation. The default is off.
Print set state commands to set nets to their current state.
This command will print a list of set state commands to set nets to
their current state. The output of this command can be redirected to
a file to be saved and executed later (see the "include" command).
This command provides a feature to return the circuit to an existing
state, which may be a preferred starting state for simulation. The
"list_set" command without an argument will print set state commands
for all nets in the circuit. An argument with wildcards can be used
to print a more limited set of nets. For example: "list_set (net)IT.~"
will print all the nets in the "IT" module.
Set/show max number of deltas allowed per time tick.
This value sets the limit for detecting zero-delay oscillations. When
the number of delta delays required for all activity to stabilize at
a single time tick exceeds the threshold, a zero-delay oscillation is
assumed. Simulation stops when the threshold is exceeded. The default
threshold is 2000 deltas.
Set/show the memory limit in Mb.
This command is used to set a limit on the amount of host computer memory
that will be used during the run. When the limit is exceeded, the fault
simulator will automatically suspend (drop) faults until memory use is
within range. This option only affects stuck-at fault simulation.
To specify no limit, set the value to 0. The default memory limit
is 90% of the available swap space. On systems where swap space cannot
be determined, the default limit is 0 (no limit), and the run must
rely on the "mem_reserve" to avoid failure. When faults are suspended
automatically, the exit $status variable is set to 9.
The "mem_limit" value is in units of mega-bytes.
Set/show the memory reserve in Mb.
This command is used to reserve computer memory at the start of the run.
When the swap space is exceeded, the fault simulator will free 1 Mb of the
reserved space, and then automatically suspend (drop) faults until memory
use is within range. This option only affects stuck-at fault simulation.
The default memory reserve is 0 to 4 Mb depending on circuit size.
Load values into RAM gate memories. The data loaded consists of address
and data pairs. The data is usually a vector of multiple RAM gate bit values.
The syntax of the command is "memload vector_name [file_name]". The "vector_name"
identifies a previously defined vector (see the "vector" command). This vector
identifies multiple RAM gate bits. The vector may contain "bus" elements, which
allows the data values to be in hex, octal, or a mixture of formats. If "file_name"
is used in the memload command, the address-data is read from the file. Otherwise,
data is read from the interactive command input. End the address-data with a single
line containing just "end". The addresses are in decimal format, and must be
preceded by at character "@". The address can appear at any location on the line.
The lines "@16 1011" and "1011 @16" will all load "1011" at address 16. These
lines actually load four 1-bit RAM gates.
Unload (print) values from RAM gate memories. The data unloaded
consists of address and data pairs. The data is usually a vector of multiple
RAM gate bit values. The command is "memunload vector_name". The "vector_name"
identifies a previously defined vector (see the "vector" command). This vector
identifies multiple RAM gate bits. The vector may contain "bus" elements,
which will print the data values in hex, octal, or a mixture of formats.
All of the data in memory is unloaded. Addresses that contain ALL X values,
however, are not printed. Addresses are printed in decimal format.
Set/show the option to monitor the number of faults
that are trapped/visible in selected registers. When the option is
enabled, the number of undetected faults visible at selected gates
is printed at the end of each vector (machine cycle). This command
is used to aid manual test generation to determine when faults have
been propagated into a register. When faults are trapped, it may be
possible to add vectors to "read" the register so that the faults will
propagate to an output pin for detection. The "monitor_faults" command is
followed by a vector name (see the "vector" command). The vector may
contain any number of nets and/or buses. At the end of every machine
cycle (period), a summary of the faults visible in each of the elements
is printed. A visible fault is only counted if both the good and fault
states are not X. The fault counts are unique visible fault IDs for
each element (gate) in the vector, but the same fault ID visible at two
elements is counted as two. The default is to print a summary, to print
more information the vector name may be followed by the keyword "all".
Examples: "monitor_faults vec_name all" and "monitor_faults reg_name summary".
To turn-off the option enter "monitor_faults null".
Set/show the option to disable fault detection strobing
on specified vector numbers and/or circuit states. When this option
active, good verses faulty states at circuit output pins are not
compared, and faults are not marked detected. Selective disabling
of fault detection strobing is used to match some strobing options
used on the actual tester. For example, during "burst count vectors,"
the normal tester strobing of output pins may be disabled.
The default is to perform fault detection strobing every vector.
This option should be followed by the keyword "vector" to specify
vector number, or by the keyword "net" to specify net names.
To specify vector numbers use "no_detect_strobe vector 100 200",
or vector ranges: "no_detect_strobe vector 100-110 115 120-200".
To specify one or more net names use "no_detect_strobe net netA netB".
When all of the nets are at logic 1, detection strobing is disabled.
This command can be used more than once to disable strobing when
any of the individual conditions is met. Sum-of-products expressions
can be constructed using multiple net names in multiple commands.
To delete all of the options, use "no_detect_strobe delete". To
display the current options, use the command without an argument.
Another method to selectively disable strobing is to use an input
vector file that contains "expected output pin states." On every
vector, the "expected output state" is compared to the "actual
simulation state." If there is a mismatch or if the "expected state"
is X, fault detection strobing is not performed at that pin on
that vector.
Set/show the option to disable IDDQ measurement strobing
on specified vector numbers and/or circuit states. When this option
active, an IDDQ measurement strobe will not be performed by any
of the automatic strobe selection options. Selective disabling
of IDDQ strobing is used when some conditions and states are known
to draw higher than normal current, or some vectors cannot be used
for current measurement. For example, current measurement should
not be performed when a ram write is active, or during certain
bursts of input vectors. By default, every vector is assumed to
be an "allowable" vector unless disabled with this command or
disabled by the "check_strobe_iddq" command. The option that forces
a strobe (set_iddq_strobe) has precedence over the "no_iddq_strobe"
option. Interactively entered strobe commands and strobe commands that
come from the input vector file also override the "no_iddq_strobe" option.
This option should be followed by the keyword "vector" to specify
vector number, or by the keyword "net" to specify net names.
To specify vector numbers use "no_iddq_strobe vector 100 200",
or vector ranges: "no_iddq_strobe vector 100-110 115 120-200".
To specify one or more net names use "no_iddq_strobe net netA netB".
When all of the nets are at logic 1, detection strobing is disabled.
This command can be used more than once to disable strobing when
any of the individual conditions is met. Sum-of-products expressions
can be constructed using multiple net names in multiple commands.
To delete all of the options, use "no_iddq_strobe delete". To
display the current options, use the command without an argument.
Set/show the option to disable IDDQ toggle select strobing
on specified vector numbers and/or circuit states. When this option
active, an IDDQ toggle select strobe will not be performed by any
of the automatic strobe selection options. Selective disabling
of IDDQ strobing is used when some conditions and states are known
to draw higher than normal current, or some vectors cannot be used
for current measurement. For example, current measurement should
not be performed when a ram write is active, or during certain
bursts of input vectors. By default, every vector is assumed to
be an "allowable" vector unless disabled with this command or
disabled by the "check_toggle_strobe" command. The option that forces
a strobe (set_toggle_strobe) has precedence over the "no_toggle_strobe"
option. This option should be followed by the keyword "vector" to specify
vector number, or by the keyword "net" to specify net names.
To specify vector numbers use "no_toggle_strobe vector 100 200",
or vector ranges: "no_toggle_strobe vector 100-110 115 120-200".
To specify one or more net names use "no_toggle_strobe net netA netB".
When all of the nets are at logic 1, detection strobing is disabled.
This command can be used more than once to disable strobing when
any of the individual conditions is met. Sum-of-products expressions
can be constructed using multiple net names in multiple commands.
To delete all of the options, use "no_toggle_strobe delete". To
display the current options, use the command without an argument.
Set/show oscillation threshold and max oscillation limit.
Primitive elements (gates) that are evaluated more than the threshold
number of times in a single machine cycle may be oscillating. Elements
that exceed the specified threshold are printed. The oscillations
command and limit value can be followed by a option that controls setting
the outputs of oscillating gates to X when the limit is exceeded. The
option value can be "set_to_x" or "no_set_to_x". When "set_to_x" is used,
gates that exceed the threshold are assigned the X output state in zero delay.
Unless the "set_to_x" option is used, an element that exceeds (threshold + 20)
will cause the simulation to be halted. Setting the threshold to 0 disables
oscillation checking. This is the default. Using this option may degrade
simulation performance.
Set/show the option to generate a file of fault models
consisting of undetected IDDQ faults. This output fault model file can
be used as an input fault model file in a subsequent IDDQ simulation run.
The command "out_fmd" without an argument will display the current
value of the option. The option value can be changed to "on", "off" or "now".
The report is always written to the model.out.fmd file. When "now" is used,
the report is written immediately. When the option value is "on", the
report is written at the end of the simulation run. The default is "off".
Write the output FLT file to save the current detection status
of each fault. The FLT file is written immediately, and will overwrite any
previous output FLT file. This command is used to "checkpoint" the detection
status of all faults. The output FLT file will also be written at the end
of the run.
Print simulation value of an object. A net, element pin, element, vector
name (see "vector" command), or bus can be printed. The current simulation
time is printed with "print time". The program version can be printed
with "print version". It is also possible to put a "cast" on the object
to be printed. This may be necessary when a symbol identifies two objects
with different types. For example, a net in the circuit may be called "in",
but it is also possible to have a user-defined vector named "in". To print
the net use "print (net)in". Possible casts include (net), (element), (pin)
(vector), (bus), (command), and (timeplate). The (command) cast is used when some
show command keywords conflict with element or net names. Casts are supported by
many commands . The cast strings can be shortened to (el), (vec), etc.
Element pins are specified with "element_name.pin_name" or "element_name.pin_number".
Set/show the threshold for dropping probably detected faults
(X detects). To show the threshold, use the command "probable".
To set or change the threshold, use the command "probable n", where
"n" is the number of soft detections that should occur before dropping.
The threshold should be greater than or equal to 0, and less than 65536.
The default is 5. Setting the value to 0, disables counting of probably
detected faults.
Change prompt from default of "(fsim)".
Print the working directory name.
Exit the simulator.
Set/show the option to reformat SCAN_IN vectors.
The command "reformat_scan_in" without an argument will display the current
value of the option. The option value can be changed to "on" or "off".
When the option is "on", input vectors containing SCAN_IN data will be
reformatted into multiple "broadside" vectors that will serially clock the
scan data into the circuit. The "virtual" scan defined in the model.scn
file must be actually wired-in to the current circuit. The SCAN_IN
vector data is usually generated using a circuit containing only
virtual scan. This option will validate that the actual scan
is compatible with the virtual scan definition. The actual scan
chain is also validated by simulation during the reformatting
process. A new vector file model.out.vec is created. This
vector file can be used in subsequent simulations without additional
modification or use of the virtual scan definition file. All or
part of the actual scan chains are defined in the scn file (see
the -sc command line option). The minimum information required is
a "scn_chain" definition line to identify the scan_mode control input
pin and it"s polarity. The default "reformat_scan_in" value is "off".
The join_signals list is NOT applied during scan vector reformatting.
If reformatting your vectors is your primary objective you are
strongly advised to use this option in tdx_lsim only; the other
simulations tend to be much slower.
Set a net or element pin to a value (0/1/X, or AX, etc).
The state will remain until the next time the net or element is evaluated.
A net cannot be set if it is already frozen ("freeze" command). The
new set state is scheduled into the queue, and can be seen with the
"show net" command. The "print net" command will not display the set
state until a run command is issued. The freeze command is used to
set a state and freeze (lock) at the same time. The set command can
also be used to change some simulation variables. Element pins are
specified with "element_name.pin_name" or "element_name.pin_number".
A set command without an argument will print the current list of pending
events. See the list_set command to print a list of set state commands
to set nets to their current state value.
Set/show the option to force IDDQ measurement strobing
on specified vector numbers and/or circuit states. When this option
active, a IDDQ measurement strobe will be performed even if the
none of the automatic strobe selection criteria are met. This
option is used to force strobing on manually selected vectors, and
can also be used to specify a pin in the vector file that will be used
as the "strobe select" flag (also see the "iddq_set_net" command.
This option should be followed by the keyword "vector" to specify
vector number, or by the keyword "net" to specify net names.
To specify vector numbers use "set_iddq_strobe vector 100 200",
or vector ranges: "set_iddq_strobe vector 100-110 115 120-200".
To specify one or more net names use "set_iddq_strobe net netA netB".
When all of the nets are at logic 1, detection strobing is enabled.
This command can be used more than once to enable strobing when
any of the individual conditions is met. Sum-of-products expressions
can be constructed using multiple net names in multiple commands.
To delete all of the options, use "set_iddq_strobe delete". To
display the current options, use the command without an argument.
Set/show the option to force IDDQ toggle select strobing
on specified vector numbers and/or circuit states. When this option
active, an IDDQ toggle select strobe will be performed even if the
none of the automatic strobe selection criteria are met. This
option is used to force strobing on manually selected vectors, and
can also be used to specify a pin in the vector file that will be used
as the "strobe select" flag. This option should be followed by the
keyword "vector" to specify vector number, or by the keyword "net"
to specify net names. To specify vector numbers use
set_toggle_strobe vector 100 200", or vector ranges:
"set_toggle_strobe vector 100-110 115 120-200". To specify one or
more net names use "set_toggle_strobe net netA netB". When all
of the nets are at logic 1, detection strobing is enabled. This
command can be used more than once to enable strobing when any of
the individual conditions is met. Sum-of-products expressions can
be constructed using multiple net names in multiple commands. To
delete all of the options, use "set_toggle_strobe delete". To display
the current options, use the command without an argument.
Show structure and data of an object. Includes input and output nets or
drivers, internal variables and their values. All useful information
about the object is printed. This includes faults and fault effects for an
element. A net, element, element pin, vector name (see "vector" command),
or bus (see "bus" command) can be shown. The current simulation time is shown
with "show time". The following can also be shown: version, queue (pending
events in the simulation time queue), deadlogic (dead logic elements), fe,
and fo (fsim fault effects, and fsim fault origins at an element). In fsim,
hyperactive and hypertrophic faults can also be shown. The command
"show hypertrophic 10" will display the ten faults that use the most memory
for fault effects. The command "show hyperactive 20" will display the 20
faults that cause the most fault machine evaluations. The command "show hyper"
will display 10 hyperactive and 10 hypertrophic faults. Element pins are specified
with "element_name.pin_name". Casts can be used with this command. If,
for example, "queue" is the name of a net or element, the command "show queue"
will show information about the logic element. Use "show (command) queue"
to get information about pending events in the simulation time queue. See
the "print" command for more information about casts.
Start simulation. When used with a time unit "n",
the circuit will be simulated for "n" time units. For example, "sim 10000"
will simulate for 10000 time units and then stop. The time unit is
0.1ns. All times used by the simulator are in 0.1ns units. When
the sim command is used without a time value, simulation will continue
until the next breakpoint (stop command) or until all input vectors
have been simulated.
Set/show the options to force sorting of simulator internal lists.
Some simulations may have poor performance because of host computer
page and/or MMU faulting (see the "vmstat" unix command). When this
occurs, performance may improve when the internal memory of the
simulator is reordered to minimize the number of working virtual memory
pages. Setting the flag with the command "sortlists true", causes the
lists to be sorted immediately. Using a numeric command value (for example
"sortlists 30") sets the automatic sorting option. The numeric value
is a percentage of the total FE record count. When the number of free
pool accesses exceeds the limit, the FE pools are sorted. The default
is 60, but there must be at least 100,000 FEs to trigger sorting.
Setting the value to 0 disables automatic sorting.
Set/show the file to which the PRINT vector is being written.
Without an argument, display the current SPT file. With an argument,
close the current SPT file and open a new SPT file. The SPT file can
be set to standard output by "spt stdout", and SPT output can be turned-off
by "spt null".
Set/show the SPT print time flag. When this flag is on,
simulation time and vector number will be written to the SPT file.
When this flag is off, only vector number is written. The default is on.
Control SPT file tracing of changes at nets.
The options are "changes" and "vectors". "Spt_trace vector" turns-on
SPT print on stable mode. "Spt_trace changes" turns-on SPT
print all changes mode. "Spt_trace changes" will override the
print strobe time, but fault detection will always occur at the strobe time.
Watch the changes at nets for SPT print.
When watched nets change state, the SPT print vector is written
to the standard output or to the SPT file. The spt_watch command
does not add nets to the SPT print vector. See the "spt_trace" command.
List nets with conflict states each vector.
When the option is enabled, the C states are printed at the end of each
clock cycle when the circuit has stabilized. The possible option
values are "off", "bidir" and "all". The "bidir" option will only
report C states at circuit bidirectional IO ports. The "all" option
reports C states at all nets in the circuit. The option value can also
be followed by a reporting option. The possible reporting options
are "report", "break" and "abort". When "break" is used, simulation will
issue an interactive breakpoint when the requested C states are found.
When "abort" is used, simulation will abort. The default option
value is "off", and the default reporting option is "report".
The "break" report option is not supported by atg.
Stop simulation at an absolute or a relative time.
Simulation can also be stopped on a vector. A relative time or vector
is indicated by a "+". The breakpoint will be repeated if the "+" prefaces
the time or vector number. "Stop [at] [+] time", or "stop on [+] vector".
Each stop breakpoint is given a number that can be used in the "delete" and
"when" commands. The current stop breakpoint list is printed if no argument
is used with the stop command.
Set/show the option to perform an IDDQ measurement strobe.
The command "strobe_iddq" without an argument will display the current value of
the option. The option value can be changed to "on", "off", "now", or an integer.
The "on" and "off" options are used to enable and disable automatic strobing
at the end of each vector. The "now" option will perform the strobing
at the current time only. The option value can also be an integer.
An integer value is a percent threshold that turns on automatic strobing
at the end of each vector whenever the number of IDDQ detections at the
vector will exceed the specified percentage of the remaining undetected
IDDQ faults. The report for "on" and percent values is written to model.idq.
The default is off.
Set/show the "force supply strength on bidir pins" behavior flag.
When this flag is on, bidirectional pins that are driven from the input
stimulus will be assigned the "supply" strength. This "supply" strength
will override any value that the circuit is attempting to drive onto the
bidirectional pin. Effectively, the value from the stimulus will dominate.
The default is off, which means conflicts on bidirectional pins will result
in X or C (conflict) states. A conflict means that both the input stimulus
and the circuit are driving the bidirectional pin.
Suspend specified hyperactive and hypertrophic faults.
This command is used to drop faults from further simulation. The
command "suspend gate_name.pin_number sa0" will suspend the stuck-at-0
fault at the specified pin number of the specified element. The fault
type can be "sa0", "sa1", or "sa01". If no fault type is specified,
or if the "sa01" type is used, both stuck-at faults will be suspended.
Wildcards can also be used: "suspend ~.ck sa01" will suspend all of the
stuck-at faults on all elements with a "ck" pin name (dff1 elements). The
command "suspend hypertrophic 20" will suspend the 20 faults that use
the most fault effect memory. The command "suspend hyperactive 40"
will suspend the 40 faults that cause the most fault machine evaluations.
The command "suspend hyper" will suspend 10 hyperactive faults and 10
hypertrophic faults. The command "suspend all" will suspend all faults.
The suspend command without an argument will print the currently suspended
faults.
Define a timeplate for the circuit pins.
A timeplate is used to apply timing to the input and output
vectors for each machine cycle. The timeplate specifies when
input pin states are applied, and when output pin states are
sampled during the machine cycle. The timeplate is also used
to specify exact waveforms for clock pins (RZ, SBC, etc.).
The "timeplate" command uses TSSI syntax, and reads the
definition up to an "end". A "timeplate" command without
arguments will display the current timeplate names. The "show"
and "print" commands can be used to
display a single timeplate.
Timeplate syntax
Set/show the node toggle counting option.
When the option is on, to-0 and to-1 transitions are counted at
all nets in the circuit. To-X transitions are not counted, but
0->X->1 and 1->X->0 are counted. At the end of the run, a "model.tog"
file containing the toggle counts for each net is created. Also, when
the toggle count option is on, a file named "model.ttt" containing
the percentage of nets that have toggled at least once up to the
listed vector number is created. This file contains percent toggled
verses vector number data, and can be graphically displayed on Sun
systems with the "dcttool" program. The toggle count option can be
turned on or off at any time during an interactive interrupt, and the
command "toggle_count now" can be used to print the "model.tog" file
immediately in addition to printing at the end of the run. A number of
options can be specified to control the format of the "model.tog" file.
The basic toggle count command options are: "on", "off", or "now".
The format options are: "sort", "no_sort", "net_names", "gate_names",
"io_reg_only", "no_io_reg", and "all". Sort or no-sort controls sorting
the "model.tog" file based on number of toggles. The net or gate name
option controls use of net or gate names in the "model.tog" file.
The "io_reg_only" option will print toggle counts only on at the IO pins
of the circuit, and at storage element (flip-flop) outputs.
The "no_io_reg" option will print the counts for all nets, but will
not print the IO pin and storage element counts. Finally, the "all"
option will cause io_reg and all net toggle counts to be written.
The toggle count command options can appear in any order.
The default is no toggle counting. The default format is "no_sort",
"gate_names", and "no_io_reg".
Set/show the limit on number of IDDQ toggle select strobes.
To show the limit, use the command "toggle_select". To change
the limit, use the command "toggle_select n", where "n" is the new
limit. Setting the limit to 0 disables the toggle select option.
By default, the toggle select option is disabled.
Set/show the file to which TSTL vectors are being written.
Without an argument, display the current TSTL file. With an argument,
close the current TSTL file and open a new TSTL file. The TSTL output
can be turned-off by "tstl null". The TSTL file contains input stimulus
and expected response created by simulation in the Toshiba Standard Tester
Language (TSTL2) format. The command "tstl on" sets the file name to
model.tstl. The default file is "null" (no file produced).
Set/show the file to which the TESTVEC vector is being written.
The default TESTVEC vector (see "vector" command) contains all of the input
and bidirectional pins on the model. Different TESTVEC and IN vectors
can be used to reformat input vector data, perhaps compressing the data.
Without an argument, display the current TVC file. With an argument,
close the current TVC file and open a new TVC file. The TVC output
can be turned-off by "tvc null". The TVC file contains the input stimulus
and expected response created by simulation. Normally, this data identical
to the data in the input vector file, but may contain additional "STROBE_IDDQ"
statements during IDDQ fault simulation. The TVC file can be used as
an input vector file for later simulations. The IDDQ strobes will be kept.
The TVC file will also be created during scan vector reformatting,
where input vector SCAN_IN data is reformatted into multiple "broadside"
vectors. In atg, the command "tvc on" sets the file name to model.tvc.
In fsim/lsim, the command "tvc on" sets the file name to model.out.vec.
In atg, the default is model.tvc. In fsim/lsim, the default
is "null" (no file produced).
Unfreeze a net or element pin. This releases it from a
previous freeze command.
List nets with unknown states.
The possible option values are "reg", "conflict", "float", "pull",
"unknowns", "iddq", and "all". The default option is "all".
With "reg", only unknowns at flip-flop, latch, and ram outputs are listed.
With "conflict", only bus conflict (C) states are listed.
With "float", only nets with Z states (F0, F1, FX) that also
drive a logic gate are listed.
With "pull", passive-strength 0/1 states from pull gates that
are being overridden by active-strength 1/0 drivers are listed.
With "unknowns", active and passive X"s are listed.
With "iddq", the "conflict", "float", and "pull" options are used.
With "all", all of the above unknowns or violations are used.
The "iddq" option can be used to check the circuit for states that
may violate an IDDQ strobe. See the "check_strobe_iddq" command.
Set/show the "cancel unstable good events" flag.
When this flag is on, events that are still pending in the queue
at the end of the machine cycle are canceled. This is the default.
Events still in the time queue indicates that the circuit has not
stabilized by the end of the machine cycle. In atg, unstable
faulty machine events are always canceled. The faulty machine
is assumed to be oscillating, and is dropped from simulation. In
fsim, faulty machine oscillation is controlled by the "unstabledrop"
option.
Set/show the "drop unstable fault machines" flag.
When this flag is on, fault events that are still pending in the queue
at the end of the machine cycle are canceled, and the faulty machine
is dropped from further simulation. It is given the "oscillating"
status. The default value is "on".
Set/show the "show unstable events" flag.
When this flag is on, events that are still pending in the queue
at the end of the machine cycle are printed. This is the default.
Events still in the time queue indicates that the circuit has not
stabilized by the end of the machine cycle. In fsim and atg,
unstable faulty machine events are also printed.
Unsuspend faults that were previously suspended.
This command is used to reactivate faults for further simulation. The
command "unsuspend gate_name.pin_number sa0" will unsuspend the stuck-at-0
fault at the specified pin number of the specified element. The fault
type can be "sa0", "sa1", or "sa01". If no fault type is specified,
or if the "sa01" type is used, both stuck-at faults will be unsuspended.
Wildcards can also be used: "unsuspend ~.ck sa01" will unsuspend all of the
stuck-at faults on all elements with a "ck" pin name (dff1 elements).
The command "unsuspend all" will unsuspend all faults. When faults are
unsuspended they will take on the same state as the good circuit.
Set/show the current timeplate.
The command "use_timeplate" will display the name of the current
timeplate that is being used. The timeplate can be changed by
using a timeplate name with the command. The timeplate must be
defined (see the "timeplate" command) before it can be used. The
default timeplate is the first timeplate defined. If no timeplate
has been defined, a default timeplate is built from the circuit
pins, and the current cycle and strobe values. The name of this
timeplate is "default_timeplate".
Set/show the file to which VCD vectors are being written.
Without an argument, display the current VCD file. With an argument,
close the current VCD file and open a new VCD file. The VCD output can
be turned-off by "vcd null". The VCD file contains net change events in
Verilog Value Change Dump file format. This file format can be used by
third-party waveform display and analysis tools. The file can be used
interactively because it is "flushed" during every simulation breakpoint.
The command "vcd on" sets the file name to model.vcd. The default file
is "null" (no file produced).
Add nets to the list of nets dumped to the VCD file.
If this command is not used, all nets will be dumped to the VCD file.
This command is used with "wildcards" to identify the nets to be dumped,
but nets can also be listed individually. To specify all the nets in
the top-level module use "vcd_dumpvars (net)*". Note that "(net)" is
a "cast" on the wildcard so that the wildcard will only match net names,
and will not also match gate names or other data types. To add all nets in
submodule "mod1" use "vcd_dumpvars (net)mod1.*". To add all nets in
all submodules of "mod1" use "vcd_dumpvars (net)mod1.*.*". This
command can be used more than once to accumulate nets to be dumped.
As soon as the command is used, only those nets identified will be
dumped to the VCD file. If this command is used without an argument,
the current list of nets to be dumped to the VCD file will be printed.
Define a vector consisting of the named nets or buses.
Default vector names with special uses include "in",
"print" and "testvec". The "print" vector determines the order
of the output to the SPT file. A "$" in the "print" vector net
name list produces a space in the SPT output. The "in" vector
determines the order of data in the VEC input file. A "$"
in the "in" vector net name list causes a column of data in the
VEC file to be skipped. The "testvec" determines the order and
format of the TVC and OUT.VEC files. All of these vectors can
contain buses. The "in" vector can contain buses of hex, octal
and binary formats, but not a decimal bus.
Other special pre-defined vectors include "allinputvec", "alloutputvec",
"allbidirvec", and "allvec". These vectors contain nets that are
pins on the circuit model (top-level entity). These vectors cannot
be redefined.
New vector names other than the default names can be
defined, and existing vectors can be redefined by:
vector <vector name> <net(bus) name 1> ... <net(bus) name n>
Net(bus) names can be added to existing vectors by:
vector <vector name> + <net(bus) name 1> ... <net(bus) name n>
and net(bus) names can be subtracted from an existing vector by:
vector <vector name> - <net(bus) name 1> ... <net(bus) name n>
A vector can be defined or redefined reading the
list of net names from a file by:
vector <vector name> < <filename>
The print vector (and additional vectors defined by the user) can
be made to include formatted output (hex, octal, decimal, or binary) by
including one or more buses (which have associated formats) in the
concerned vector.
Set/show the Viewlogic behavior flag. When this flag is on,
Viewlogic equivalent behavior will be used in the flip-flops, latches, and
other element types. The default is off.
Set/show the "weak cmos" behavior flag. When this flag is on,
cmos transmission gates with only one active (on) control input will cause
the output to be X. The default is off, which means the cmos gate will
transmit input to output when either control input is active (on).
Set/show the file to which TSSI WGL vectors are being written.
Without an argument, display the current WGL file. With an argument,
close the current WGL file, and open a new WGL file. The WGL output
can be turned-off by "wgl null". The WGL file contains input stimulus
and expected response created by simulation in the TSSI WGL format.
The command "wgl on" sets the file name to model.wgl. The default
file is "null" (no file produced).
Specify commands to be executed when a breakpoint is hit.
Give breakpoint id number as argument after "when". Breakpoint id numbers
can be printed by entering a "stop" command without any arguments. The
commands themselves follow starting on the next line. End with a line
containing just "end". Double dashes "--" can be used to begin a
comment. The comment is not saved or executed.
Set/show the RAM gate X address input threshold.
When the number of X address bits at a RAM meets or exceeds the threshold
during a read, the RAM output is set to X. When the number of X addresses
meets or exceeds the threshold during a write, the entire contents of
the RAM memory is set to X. When the limit is not exceeded, the data is
"clashed" by examining all possible address locations (each X at 0 and 1).
On read, a difference in data at in any storage address will set the RAM
output to X. On write, if the data at any address is different from the
RAM data input, the data at the address is set to X. Setting this
threshold to a high value may cause performance degradation. Setting the
threshold to 0, will disable RAM writes if the write enable is X, or any
address bit is X. With a 0 threshold, RAM read with X address will return X.
The default threshold is 9, which limits the number of "clashes" to 256.
A message is written to the model.xad file whenever an X address
occurs at a RAM gate when the WE input is active or X. The default
limit on the number of messages written is 1000. The default can be
changed by specifying a value after the X address limit. For example,
the command "xaddr 10 2000" sets the X address limit to 10, and sets
the report limit to 2000.
The interrupt key (control-C) can be used while the simulation is running.
An interrupt during initialization i.e. before the user is presented
with a "(fsim)" prompt will kill this run of TDX-FSIM.
If the interrupt comes during simulation, the user is presented with
an interrupt menu.
An interrupt during processing of an interactive command which can
produce a large amount of output (example : "show ~"
(wildcard used) or "unknowns" (goes through all the nets))
will kill that particular command and return to the "(fsim)" prompt.
An interrupt during processing of commands that cannot be interrupted
will be ignored.
Most commands will accept "wild-card strings" to identify one or more
gate or net names. The following wild-card characters are supported:
- ~
- tilde matches any number of characters, even
through hierarchy boundaries.
- *
- asterisk matches any number of characters
up to a hierarchy boundary.
- #
- pound matches one or more digits.
Hierarchy boundary characters are either "/" or "." depending on your
circuit. Verilog circuits always use ".", but VHDL circuits may use
either "/" or ".". The following are some example "show" commands:
- show ~LA7
- show every net/element with "LA7"
at the end of it's name.
- show LA#
- show every net/element named "LAn"
where "n" is a digit.
- show (net)*LA*
- show every net with "LA" in it's
name.
- show cella.cellb.*
- show every net/element in
module "cella.cellb"
The wild-card processor will accept a "cast" on the name. In the above,
"(net)" is a cast that indicates that only net names are to be shown.
Other casts include (element), (pin), (vector), (bus), (command),
and (timeplate). The command "set (net)~ 0" will set the state of
every net in the circuit to 0. The command "freeze (pin)~.ck 0" will freeze
the state of every primitive that has a pin named "ck". See the man
page of tdx_info ("man tdx_info") for the pin names of predefined primitives.
The wild-card characters are similar to the wild cards used in UNIX and
in many text editors.
A
accelerate
B
break_unknown
bus
C
check_strobe_iddq
check_toggle_strobe
compare_outputs
count_iddq
D
dct
debug
define
delete
detect_cf_iddq
detect_highz
detect_sa_iddq
detect_strength
document
E
echocmd
echostring
F
fmd
freeze
H
hard
help
hyperactive
hypertrophic
I
iddq_report_iut
iddq_set_net
iddq_short
iddq_strobe_limit
include
info
init_state
J
join_signals
K
keep_probable
L
list_set
M
maxdelta
mem_limit
mem_reserve
memload
memunload
monitor_faults
N
no_detect_strobe
no_iddq_strobe
no_toggle_strobe
O
oscillations
out_fmd
outflt
P
print
probable
prompt
pwd
Q
quit
R
reformat_scan_in
S
set
set_iddq_strobe
set_toggle_strobe
show
sim
sortlists
spt
spt_prtime
spt_trace
spt_watch
stable_conflict
stop
strobe_iddq
supply_bidir
suspend
T
timeplate
toggle_count
toggle_select
tstl
tvc
U
unfreeze
unknowns
unstablecancel
unstabledrop
unstableshow
unsuspend
use_timeplate
V
vcd
vcd_dumpvars
vector
vlbehavior
W
weak_cmos_x
wgl
when
Last modified: Mon Nov 17 11:58:46 PST 1997
Copyright (c) Vervent Technologies Inc, 2007