Navigate:
GUI Main Panel
fcomp
collapse
mergeflt
partflt
changeflt
removeflt
reporter
Related:
Fault Status Types
Faultlist Compilation GUI Panel
It is necessary to compile a faultlist prior to running fault
simulation. The faultlist is created for the netlist selected by the
main GUI panel.
The name of the new file is
specified by typing in the box
to the right of the write: label.
There are four alternatives for compiling a faultlist with
fcomp, one of which must be selected:
- basic
- create a basic collapsed fault list (same as the basic w. FF clock pins (-e) option) except
that faults will not be inserted on flip-flop clock pins, latch enable
pins, and ram write-enable pins.
- basic w. FF clock pins
- create a fault list using equivalent-fault
collapsing on the full fault list (all gate pins stuck at 0 and
1). More detailed description.
- checkpoint
- create a list of
checkpoint faults. More detailed description.
- script
- create a customized faultlist according to the script
typed in the box near the bottom of the panel. See custom fault specification.
The following options can be combined with the above:
- supply faults undetectable
- Mark SA1 faults driven by the power (supply1) nets as UNDETECTABLE, and also mark
SA0 faults driven by the ground (supply0) nets as UNDETECTABLE.
Equivalent to the -p switch to the fcomp program.
- keep IGN/UND faults
- Keep IGNORE and UNDETECTABLE faults. The default is to delete
them. This option is useful for when it is necessary to keep
undetectable faults in the master fault list for various accounting or
accountability purposes (many users are required to compute fault
coverage figures using the full fault population that includes
undetectable faults). Equivalent to the -k switch to the fcomp program.
- annotate with net names
- Add net names as comments to the output fault file. When this
option is selected the output fault file will contain a comment line that
identifies the hierarchical net name associated with each stuck-at
fault. Equivalent to the -x switch to the fcomp program.
- ignore netlist directives
- Ignore suppress-fault flags from netlist compilation. In verilogt, these
flags are created by the `suppress_faults' compiler directive. Some
libraries use this directive to suppress faults within cells. Use
this directive to seed faults on gates within the cell models. Equivalent to the -r switch to the fcomp program.
If you select the script option the editing panel (below
script insert:) is used to specify which faults to include in the
file. Fault are specified using a simple line-oriented language. The
double-dash '--' or double-slash '//' starts a comment that continues
to the end of the line.
Each non-comment line should identify one or more fault origins (a
warning is given if a line fails to identify any fault origin). If
the same fault origin is identified more than once the first
specification applies. For instance, to seed faults everywhere in a circuit
except the module named "mem", this input file might be used:
mem~.* sa01 ignore
~.* sa01
Each line must follow the following basic form:
<gate specifier> <fault type> [<status>] [equivalent_to <n>] [: <back annotation>]
where items in "[]" brackets are optional. <gate specifier> has
a number of different forms (the on what button allows the insertion
of keywords to reduce the need for typing):
- <hierarchical gate name>.<pin name>
- specify by gate instance and pin
- gate_type <gate type name> <gate name>.<pin
name>
- specify by gate type, gate instance and
pin
- net <net name>
- specify fault origins by the nets to which they connect
- net <relation> <net name>
- specify fault origins by their relationship
(e.g. drives, driven-by) to named nets
- primary <direction list>
- specify sprimary inputs and/or outputs
For instance, the statement:
top_module.mid_module.some_latch.q sa1 detected
specifies the fault origin to be pin q of element some_latch in the
module top_module.mid_module. The fault type is stuck-at-1 and its
status is detected. Note that by default, the reporter utility lists
faults in this format.
Name Specification
Hierarchical, wild-carded names can be used for module, gate, pin and
net names. The five wild card characters are '~', '*', '#', '<'
and '>'.
- '~' matches any number of characters through any
number of levels of hierarchy
- '*' matches any number of characters
in a single level of hierarchy, or within a pin name
- '#' matches one or more decimal digits (0-9)
- '>' matches output pins
- '<' matches input pins.
Hierarchy boundary characters are periods '.'.
For example, the name 'MEM.~' matches everything in and below the module MEM. If
you say '*.ADDER.*' it matches a second level module named adder
anywhere in the top level design, and all things under those adders.
Wild cards can be used with escaped Verilog names, but all wild
card characters in the escaped name are treated as wild cards, not as
part of the name. For example, in '\DEC[1]~', the '~' is treated as a
wild card. In '\DEC2(#).LA7', the '#' is treated as a wild card, and
all names like '\DEC2(7).LA7' and '\DEC2(31).LA7' will be matched.
Fcomp accepts sa0, sa1 and sa01 as fault type specifiers. The sa01 means both
stuck-at-0 and stuck-at-1. The fault button is available to
insert these designators at the current insertion point.
fcomp accepts these fault status codes, synonyms and abbreviations:
atg_gave_up, agu, atg_wont, wont,
detected, det, hyperactive, hyper, ignore, ign, oscillate,
osc, probable, prob, suspended, susp,
undetectable, unbl, undetected, und, unexpected, unex. The
status button is available to insert these codes at the current
insertion point.
The default is "undetected".
The status button will insert these fault status designators.
Equivalence Count
The optional equivalence field is the keyword "equivalent_to"
(abbreviated "equiv") followed by an integer constant. This
allows user to specify non-uniform weights to faults. The default
value is 1. The collapse program will add the weights when one fault
is collapsed onto another.
Back Annotation
The optional back annotation information is specified by a ':' followed
by a quoted string. The default is no back annotation.
Example Usage
The following form is used for this type of selection:
<gate name>.<pin name> <fault type> [status] [equiv <n>] [: <back ann>]
Gate instance and pin name can be be specified using wildcards. e.g.
*.* sa01
~.q sa1 ignore : "I don't care today"
mem~.* sa0 equiv 3 -- these have high weights
~.> sa01 -- every output pin
The keywords "gate_type", "type", or
"component" can be used to select specific component types.
gate_type <gate type name> <gate name>.<pin name> <fault type> [status]
[equiv <n>] [: <back ann>]
e.g.
gate_type tdx_dff1 ~.ck sa01 ignore -- delete flip-flop clock pins faults
gate_type tdx_dlatch ~.> sa1 -- fault every latch output to 1
The keyword "net" can be used to specify fault origins by (wildcarded)
net names. The fault origin will be on the net "node", which is
defined to be the output of the driving element if the net has a
single driver, or else the output of the wired element in the case of
a wired net.
net <net name> <fault type> [<status>] [equiv <n>] [: <back ann>]
e.g.
net abc sa1 ign
net xyz sa0 ign
net ~ sa01
Fault origins can be specified by net topology by
following the keyword "net" by one or more of the keywords:
load, node, driver, checkpoint,
stem. The keyword synonyms loads, nodes,
drivers, checkpoints, and stems are also accepted.
When using multiple qualifiers, there must be a space delimiter
before the comma (e.g. net node ,driver).
- Net loads are all input pins driven by the net, treating
wired elements as a transparent part of the net.
- Net drivers are all output pins driving the net, treating
wired elements as transparent.
- A net node is the output of the driving element, except in
the case of a wired net, where a node is the output of the
wired element.
e.g.
net loads ~result* sa01
net checkpoint ,stem ~ sa01
Fault origins on primary inputs and outputs can be selected using
the special 'primary' command. e.g.
primary inputs * sa1
primary outputs * sa0
primary input , output ~ sa01 ignore
When using multiple qualifiers, there must be a space delimiter
before the comma.
The basic w. FF clock pin option creates a fault list using
equivalent-fault collapsing on the full fault list (all gate pins
stuck at 0 and 1). The nets named "~TDX_SUPPLY0" and
"~TDX_SUPPLY1" are created by the netlist compilers (verilogt
and vhdlt) for some gates that are driven by the constants "0" and
"1". The basic w. FF clock pin option also ignores SA1 faults
on lines driven by power (supply1) nets and SA0 on lines driven by
ground (supply0) nets. This option also
runs the collapse program to remove faults on dead logic, and to
perform the actual fault collapsing.
The following script, run with supply faults undetectable selected,
produces a fault file that, after processing with the collapse
program, is equivalent to the basic w. FF clock
pins option.
net loads ~TDX_SUPPLY0 SA01 IGN
net drivers ~TDX_SUPPLY0 SA01 IGN
net loads ~TDX_SUPPLY1 SA01 IGN
net drivers ~TDX_SUPPLY1 SA01 IGN
~.* SA01
The checkpoint option generates checkpoint faults but ignores
faults on clock and enable lines of memory elements. The nets named
"~TDX_SUPPLY0" and "~TDX_SUPPLY1" are created by the
netlist compilers (verilogt and vhdlt) for some gates that are driven
by the constants "0" and "1". The checkpoint option also
ignores SA1 faults on lines driven by power (supply1) nets and SA0 on
lines driven by ground (supply0) nets. Thise option
also runs the collapse program to remove faults on dead logic.
The following script, run with supply faults undetectable selected,
produces a fault file that, after processing with the collapse
program, is equivalent to the checkpoint option.
gate_type TDX_DFF1 ~.CK SA01 IGN
gate_type TDX_DLATCH ~.EN SA01 IGN
gate_type TDX_RAM ~.WE SA01 IGN
gate_type TDX_MPRAM ~.WEA SA01 IGN
gate_type TDX_MPRAM ~.WEB SA01 IGN
net loads ~TDX_SUPPLY0 SA01 IGN
net drivers ~TDX_SUPPLY0 SA01 IGN
net loads ~TDX_SUPPLY1 SA01 IGN
net drivers ~TDX_SUPPLY1 SA01 IGN
net checkpoints ~ SA01
primary outputs ~ SA01
Common Diagnostics Messages
-
No faults compiled, no output file written.
- This means fault specification did not match anything, so no
output was written.
- File filename, line number : pattern
matches no new fault origins.
- This means the command did not create any new fault origins. Is
the wild card correct?
Last modified: Tue Sep 30 13:19:40 PDT 1997
Copyright (c) Vervent Technologies Inc, 2007