TDX-STEP can be used to first analyze the circuit before running TDX-FSIM. At this point, the TDX-STEP program will analyze the circuit and report some important properties about it which impact its testability. Further, the user can explore some of these characteristics in further detail with the use of various interactive commands. TDX-STEP will not suggest any circuit changes at this point. However the user may elect to modify the circuit based on the testability information reported by TDX-STEP. Also, the user can use the "levelize" or "autolevelize" commands to create a scan file for his first TDX-ATG run if it is decided that he will be using scan. This is "static" TDX-STEP mode.
After running the first iteration of TDX-FSIM, the user can invoke TDX-STEP. TDX-STEP will, using information passed to it by TDX-FSIM and the vector file, examine the faults left undetected and suggest circuit changes to the user. This can be a cyclic process with the user repeatedly invoking first TDX-FSIM (or TDX-ATG) and then TDX-STEP, untill he has obtained the desired coverage. This is "dynamic" TDX-STEP mode. In this mode the testability of the circuit is being examined along with the effectiveness of the test vectors.
tdx_tap is the static analysis counterpart of tdx_step.
An interrupt during processing of an interactive command which can produce a large amount of output (example : "trace forward ~DF" (wildcard used) or "scanruleviolation" (goes through all state elements) will kill that particular command and return to the "(tap)" prompt. Commands which update external files (example: "updatefaults") or which change internal data structures (example: "noscan AGEN.*") can not be interrupted. An interrupt during processing of these commands will be ignored.
The three wild card characters are "~", "*" and "#". A "~" will match any number of characters through any number of levels of hierarchy. A "*" matches any number of characters in a single level of hierarchy. A "~" matches all up and down the circuit modules, but "*" stops at a hierarchy boundary. A "#" matches one or more digits.
Many commands are identical in use to the simulators. They are listed in alphabetical order.
A
When tdx_step is run with Scanmaker mode enabled,
the advice commands have additional functionality:
bus
compare_outputs,
define,
document,
help,
For example, "identify monostables" will display the state elements which
behave as one-shots.
include,
Until the vector count reaches this value, fault effect statistics will
not be gathered. Nets which go to an X logic value after this vector number
will be disqualified from being candidates for observation points.
If a "model.pat" file (written by ATG) is available, TAP will
pick up the initialization vector number from the "model.pat" file.
Otherwise, the default is 0. If the initialization vector number is 0,
there is no disqualification of nets for observation points.
join_signals,
maxdelta,
mem_limit,
The submodules specified will have full scan within them. In addition,
inputs and outputs of the submodule will be traced to find other flip-flops
which can help add controllability or observability to the specified
submodule, and add them to the scan chain.
Note that all the submodules to be processed have to be listed on a single
command. Each time this command is used, it overwrites the results from the
previous call.
This advice does not require simulation. Wild cards can not be used to
specify the submodules. The scan elements will be written to the file
model.modulescan.step. The scan rule violations will be listed in the
file model.modulescan.scnviol.
Options -none, -input, -output or -both can be specified to control
whether the inputs and outputs of the submodule should be traced. Only
the submodules listed after each use of the option will be affected by
that option. Use -none if you only want scan within the submodule. Use
-input if controllability is your only concern and -output if observability
is your only concern. If no option is specified, -both is assumed.
These state elements are not considered as candidates for scan. This is
in addition to the state elements which violate the design rule checker.
Write an output fault file "
Note that this command depends on the value of the "maxtpo" and
"pertpo" parameters in the same way as the "advice 1" option.
A final confirmation run through FSIM is advised to ensure that
coverage is as predicted. Sometimes, either clashing faults effects
(same fault effect on an even number of observation points), or
observation points which go to X (this problem can be handled
by using the "init_vector_num" cmd) will reduce coverage.
oscillations,
Note that if the "
This command is useful if the output fault file from the first
run is either unavailable or STEP is being run on a different
fault set from the first run.
probable,
If an argument is used, example "scanruleviolation
Wild cards can be used in the element name.
Abbreviations used for rule violations are:
sortlists,
supply_bidir,
"tap comp_name" will display the testability values for the named component.
Additionally, the testability numbers for all the nets encountered during
a trace can be output. All the trace commands can also be used with "tap".
For example, "tap sources comp_name" will display the testability
numbers of the state elements and primary inputs which drive the
specified component.
The tap commands accept wildcarded component names as input.
List of tap subcommands (where applicable, n defaults to 1
if omitted):
timeplate,
The "trace" commands accept net, element and pin names as input.
These component names can be wildcarded.
List of trace subcommands:
unfreeze,
If no file name is used, the same fault file which was read in is updated.
use_timeplate,
advice
Display advice on circuit changes. There are three advice options:
Type in the number of the advice option that you wish to see.
For more than one option, separate the arguments with white space.
Use "all" if you want all the options shown.
Examples: "advice 1" , "advice 1 3" , "advice all".
autolevelize
Create a feed forward circuit by adding scan.
This is done by adding elements to the scan path until there is no
sequential feedback. The "model.autolevel.scn" file is written.
All state elements except those specified by the user through
the "noscan" cmd are considered as scannable. Appropriate override
syntax is also written into the "model.autolevel.scn" file.
deadlogic
Show the dead logic in the circuit. By default, unused cell output
pins are not printed. To print these nets use "deadlogic all".
deadstates
Show the dead state elements in the circuit.
displayhigh
Display components with high testability measures.
For example, "displayhigh controllability" will display the net with the
highest controllability numbers.
List of displayhigh subcommands (n defaults to 1):
Type "help displayhigh" followed by displayhigh subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
fullscanremainder
Full scan except elements with user constraints.
All state elements except those specified by the user through
the "noscan" cmd are written to the "model.remainder.scn" file.
Appropriate override syntax is also written into the file. This
command may also have
implications for Scanmaker.
identify
Identify various circuit configurations.
Type "help identify" followed by identify subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
The largest cone is the cone with the broadest base.
init_vector_num
Set/show the initialization vector number.
levelize
Create a feed forward circuit by adding scan.
This is done by adding elements to the scan path until there is no
sequential feedback. The "model.level.scn" file is written.
Only scannable elements are used. Elements which are good
candidates but which violate scan rules are not used. Comments
on such cases will be found in the "model.level.scn.err" file.
maxtmi
Set/show the maximum number of test mode inputs.
This is the maximum number of test mode inputs that STEP will advise.
Default is 15.
maxtpo
Set/show the maximum number of observation points.
This is the maximum number of test point outputs that STEP will advise.
Default is 256.
noobs
Specify nets that can't be observed at a test point. Wild cards can be used in the net names input to this command.
modulescan
Advice on making specified submodules within the design more testable.
noscan
Specify flipflops and latches that can't be scanned. Wild cards can be
used in the element names input to this command.
notmi
Specify nets where a test mode input can't be added.
Wild cards can be used in the net names input to this command.
obsoutflt
Update status of faults detectable through TPOs.
outflt
Update status of faults detected during simulation.
Write an output fault file "pertpo
Set/show the minimum visible faults per tpo.
This is the minimum number of additional faults that should be
visible at an observation point for it to appear in STEP's advice.
Default is 2.
scanpercent
Set/show the percentage of flipflops advised.
This determines the percentage of the total number
of flipflops in the circuit that STEP will choose
for scan in the "advice" cmd.
Default is 10%.
scanruleviolation
Examine whether an element is scannable.
set,
simulate
Simulate existing vectors. When used with an integer "n", the circuit will be simulated for "n" vectors.
When the "simulate" command is used without a vector count, simulation
will continue until all the vectors have been simulated.
summary
Display a summary of the circuit.
tap
Display testability numbers for circuit components.
Type "help tap" followed by tap subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
"tap backward comp_name n" will trace
n levels of depth. When used without the integer argument
n, tap backward one level from this element, net, or pin.
"tap forward comp_name n" will trace only n
levels of depth. When used without the integer argument n,
tap one level forward from this element, net, or pin.
trace
Command to trace topology of the circuit.
For example, "trace sources comp_name" will report on the state
elements and primary inputs which drive a particular component.
Type "help trace" followed by trace subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
"trace backward comp_name n" will trace n levels of depth.
When used without the integer argument n, trace backward
one level from this element,net, or pin.
"trace forward comp_name n" will trace n levels of depth.
When used without the integer argument n, trace one level forward
from this element, net, or pin.
The sources of a component are the state elements and primary
inputs that are reached by a backward trace from this component.
The targets of a component are the state elements and primary
outputs that are reached by a forward trace from this component.
Example: "trace path comp_name1
comp_name2".
undriven
Identify undriven nets.
updatefaults
Update fault file status for undetectable faults.
Only undetectable faults will have their status updated. All other
faults will keep their original status.
When used with a file name, for example, "updatefaults filename", the
updated fault list will be written to the specified file. Note that the
fault list in the specified file, if any, may be different from that read
in during initialization. The previous contents of the file are overwritten.
Last modified: Fri Nov 21 18:42:08 PST 1997
Copyright (c) Vervent Technologies Inc, 2007