Navigate: GUI Main Panel tdx_atg tdx_step tdx_tap tdx_fsim
Generic: Logic States Timeplate Logic States Fault Status Types Verilog Primitives VHDL Primitives
tdx_step: GUI Interrupts Wildcards Interactive Commands

tdx_step Testability Advisor

TDX-STEP is a design for testability advisor. The primary function of TDX-STEP is to advise the user as to how to make the circuit more testable.

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.

GUI Controls

There are few GUI controls for tdx_tap. Most functionality is accessed by typing commands to the underlying program using the supplied window.

print summary

By default, the summary report is printed on entry if it is a no-simulation invocation.

quick startup

Quick start step. In this mode tap will not be able to: identify combinational loops, find largest cone or longest path, or report scan rule violations. This mode is useful if TDX-STEP is to be used only for circuit tracing and static testability analysis of a large circuit.

simulate

If selected, this checkbutton causes automatic fault simulation and advice on circuit changes. By default, if TDX-STEP finds a vector file and an output fault file (.vec or .tvc, and .out.flt), in the current directory, it assumes this is a post-simulation call. On entry, the vectors are fault simulated and the advice on circuit changes is displayed.

Scanmaker

See the Scanmaker page for details.

Interrupts

Type Ctrl-C over the interaction window to interrupt tdx_step. The interrupt is handled differently depending on where TDX-STEP is at that instant. An interrupt during initialization i.e. before the user is presented with a "(tap)" prompt will kill this invocation of TDX-STEP. 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 : "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.

Wildcards

The "trace", "tap", "show", "noobs", "notmi", "noscan" etc. commands accept wildcard entries for net and element names. For pins, both the element name and pin name parts can be wild carded.

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.

Commands

Interactive commands may be entered at any breakpoint. These commands can also be placed in an init (model.stepinit or model.tdxinit) file, or in a file that is used with the "include" command. The online help facility may be accessed by typing "help" at the "(step)" prompt.

Many commands are identical in use to the simulators. They are listed in alphabetical order.

A B C D E F G H I J K L M N O P Q R S T U V W X

accelerate

advice

Display advice on circuit changes. There are three advice options:
Option 1
Observation Points.
Option 3
Partial Scan - Heuristic B.
Option 4
Test Mode Inputs.
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".

When tdx_step is run with Scanmaker mode enabled, the advice commands have additional functionality:

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.

bus compare_outputs,

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.

define, delay, delete, detect_highz, detect_strength,

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):
controllability n
display the n nets with highest "controllability".
observability n
display the n nets with highest "observability".
potency n
display the n nets with highest "potency".
zeropotency n
display the n nets with highest "zero potency".
one potency n
display the n nets with highest "one potency".
Type "help displayhigh" followed by displayhigh subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

document, echocmd, echostring, freeze,

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.

help, hyperactive hypertrophic

identify

Identify various circuit configurations.

For example, "identify monostables" will display the state elements which behave as one-shots.

loops
Identify the nets that form a combinational loop. For each strongly connected combinational component, the smallest loop will be listed. It is expected that this smallest loop represents a state element. Note that in the case of sequential feedback involving this state element, there may be more than one loop in the strongly connected component. Also, in the case of disjoint loops, more than one of these loops may represent a state element.
longestpath
Identify the nets in the longest combinational path.
largestcone
Identify the drivers of the largest combinational cone. The drivers of the combinational cone of logic are the primary inputs and the state elements at the base of the cone.
The largest cone is the cone with the broadest base.
crosscoupledlatch
Identify cross coupled latches.
monostables
Identify state elements which behave as one-shots.
ripplelogic
Identify asynchronous ripple logic. When used with an argument, example "identify ripplelogic comp_name", the ripple chains beginning with that component will be listed.
ripplesources
Identify state elements which begin ripple chains. All state elements which appear as the first element of a ripple logic chain will be listed along with the number of chains that they start.
uninit
Identify all uninitializable state elements.
undetectables
Identify the faults marked undetectable by TAP.
infinite
Identify uncontrollable and unobservable nets. Nets which are uncontrollable or unobservable and which are not a part of dead logic will be listed.
Type "help identify" followed by identify subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

include, info, init_state,

init_vector_num

Set/show the initialization vector number.

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, keep_probable,

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.

maxdelta,

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.

mem_limit, mem_reserve, memload, no_detect_strobe,

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.

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.

noscan

Specify flipflops and latches that can't be scanned. Wild cards can be used in the element names input to this command.

These state elements are not considered as candidates for scan. This is in addition to the state elements which violate the design rule checker.

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.

Write an output fault file ".obs.out.flt" to reflect final status of all faults after fault simulation is performed including those marked as DETECTED through observation points.

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,

outflt

Update status of faults detected during simulation. Write an output fault file ".sim.out.flt" to reflect final status of faults detected during fault simulation.

Note that if the ".out.flt" file from the previous FSIM or ATG run was used, no new faults will be detected and the ".sim.out.flt" file ought to be identical to the ".out.flt" file.

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.

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.

probable, prompt, pwd, quit scanmaker

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.

If an argument is used, example "scanruleviolation ", show scan rule violations for that element. If no argument is used, show scan rule violations for all flipflops and latches except those that have been excluded with the "noscan" cmd.

Wild cards can be used in the element name.

Abbreviations used for rule violations are:

EL
This element is a latch.
ECKTGT
The clock/enable pin of this element is driven through combinational logic by the output of a state element.
ESETTGT
The set pin of this element is driven through combinational logic by the output of a state element.
ECLRTGT
The clear pin of this element is driven through combinational logic by the output of a state element.
ESRCCK
This element drives through combinational logic the clock/enable pin of a state element.
ESRCSET
This element drives through combinational logic the set pin of a state element.
ESRCCLR
This element drives through combinational logic the clear pin of a state element.
WSRCTSE
This element drives through combinational logic the control pin of a tri-state element.
set, show,

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.

sortlists, stop

summary

Display a summary of the circuit.

supply_bidir, suspend

tap

Display testability numbers for circuit components.

"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):

tap backward
Show testability numbers backward from this component.
"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
Show testability numbers forward from this component.
"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.
tap sources
Show testability numbers for sources of this component. The sources of a component are the state elements and primary inputs that are reached by a backward trace from this component.
tap targets
Show testability numbers for targets of this component. The targets of a component are the state elements and primary outputs that are reached by a forward trace from this component.
tap path
Show testability numbers for the path between 2 points. Show testability numbers for the path between 2 points. For example, "tap path comp_name1 comp_name2".
tap clock
Show testability numbers back from this element's clock.
tap range
Show the highest finite testability numbers.
Type "help tap" followed by tap subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

timeplate,

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.

The "trace" commands accept net, element and pin names as input. These component names can be wildcarded. List of trace subcommands:

trace backward
Trace backward from this component.
"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
Trace forward from this component.
"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.
trace sources
List the sources of this component.
The sources of a component are the state elements and primary inputs that are reached by a backward trace from this component.
trace targets
List the targets of this component.
The targets of a component are the state elements and primary outputs that are reached by a forward trace from this component.
trace path
List the elements on a combinational path.
Example: "trace path comp_name1 comp_name2".
trace clock
Trace back from the clock pin of this state element.
Type "help trace" followed by trace subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

undriven

Identify undriven nets.

unfreeze, unstablecancel, unstabledrop, unsuspend,

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.

If no file name is used, the same fault file which was read in is updated.

use_timeplate, vector, vlbehavior, weak_cmos_x, when, xaddr,


Last modified: Fri Nov 21 18:42:08 PST 1997
Copyright (c) Vervent Technologies Inc, 2007