Testing
Testing
Testing
• Silicon debug: tests run on first batch of chips that return from
fabrication. This test confirms that the chip operates as it was
intended and help debug any discrepancies.
Functional equivalence at
various levels of abstraction
• FPGA
• Verilog/vhdl
Logic Verification Principles:
Stuck at 0 or 1:
faulty gate input
Occur Due to gate oxide shorts
(the nMOS gate to GND
or the pMOS gate to VDD)
or metal-to-metal shorts.
Short-Circuit and Open-Circuit Faults:
• Shorting of input to ground or to vdd or to output
• Open circuit indicates the discontinuity in the interconnects.
Observability:
Observability is the ability to observe, either directly or indirectly, the
state of any node in the circuit.
Controllability:
• The controllability of an internal circuit node within a chip is a
measure of the ease of setting the node to a 1 or 0 state (Input pad)
Fault Coverage:
• Goodness of a set of test vectors. 0 to 1 (stuck at)
• When a discrepancy in faulty machine. It is compared with good
machine, the fault is marked as detected and the simulation is
stopped.
Automatic Test Pattern Generation:
• In the IC industry, logic and circuit designers implemented the
functions at the RTL or schematic level, mask designers completed
the layout, and test engineers wrote the tests. (vectors)
• Most of the burden for generating tests has fallen on the designer.
• To deal with this burden, Automatic Test Pattern Generation
(ATPG) methods have been invented.
• A PRSG of length n is constructed from a linear feedback shift register (LFSR), which in
turn is made of n flip-flops connected in a serial fashion, as shown in figure (a). The
XOR of particular outputs are fed back to the input of the LFSR
• A complete feedback shift register (CFSR), shown in figure (b), includes the zero state
that may be required in some test situations.
BILBO (Built-In Logic Block
Observation)
• The combination of signature
analysis and the scan
technique creates a structure
known as BILBO
• The 3-bit BIST register shown
in figure is a scannable,
resettable register that also
can serve as a pattern
generator and signature
analyzer
Memory Self-test:
• Testing large memories on a production tester can be expensive
because they contain so many bits and thus require so many test
vectors.
• Embedding the self-test circuits with the memories can reduce the
number of external test vectors that have to be run.
IDDQ Testing:
• Method of testing for bridging faults is called IDDQ test (VDD supply
current Quiescent) or supply current monitoring.
• This relies on the fact that when a CMOS logic gate is not switching, it
draws no DC current (except for leakage).
• When a bridging fault occurs, then for some combination of input
conditions, a measurable DC IDD will flow.
• Testing consists of applying the normal vectors, allowing the signals to
settle, and then measuring IDD.
Design for Manufacturability:
Circuits can be optimized for manufacturability to increase their yield. This can be done in
a number of different ways.
• Physical
• Increase the spacing between wires where possible––this reduces the chance of a defect causing a
short circuit.
• Increase the overlap of layers around contacts and vias––this reduces the chance that a
misalignment will cause an aberration in the contact structure.
• Increase the number of vias at wire intersections beyond one if possible––this reduces the chance
of a defect causing an open circuit.
• Redundancy
• Power: Elevated power can cause failure due to excess current in wires, which in turn
can cause metal migration failures
• Process Spread: process simulations can be carried out at different process corners
• Yield Analysis: When a chip has poor yield or will be manufactured in high volume, dice
that fail manufacturing test can be taken to a laboratory for yield analysis to locate the
root cause of the failure.