Compression Assignment
Compression Assignment
Compression Assignment
1) What is compression?
The compression is the mainly reduces the test data volume and test time,
compression achieves compression of scan test data by controlling a large number of
internal scan chains using a small number of scan channels.
Decompressor —The decompressor block that is inserted between the external scan
channel inputs and internal scan chain inputs consists of a ring generator and a phase
shifter
LFSM
PHASR SHIFTER
LFSM (decompressor ring generator)
The ring generator is a unique linear finite state machine (LFSM) that is obtained by
applying a number of m -sequence preserving transformations to the canonical form
Phase Shifter
The phase shifter logic enables the ring generator to drive the large number of internal
scan chain inputs, and reduces the linear dependencies among bit streams supplied to
the scan chain inputs by displacing them by at least the longest chain length.
The XOR gates in the phase shifter are driven by a limited number of ring generator
stages to reduce the propagation delay.
The XOR gates in the phase shifter can be restricted to utilize a subset of the ring
generator stages. Such modularity is helpful in significantly reducing the routing
congestion when a large number of scan chains need to be driven by the decompressor
Compactor —The compactor resides between the core scan chain outputs and the
channel outputs connected to the tester. It primarily consists of spatial compactor(s)
and gating logic
The compactor block that is inserted between the internal scan chain outputs and
external scan channel outputs is composed of XOR tree-based spatial compactors and
selective masking logic
4) Write internal diagram of Decompressor?
The decoding logic used for masking of the X-value in the compactor, The
mask code is then parallel-loaded into the mask hold register, where the decoder mode
bit determines whether the basic decoder or the XOR decoder is used on the mask
code.
The basic decoder selects only one scan chain per compactor. The basic decoder
is selected when there is a very high rate of X values during scan testing or during
chain test to allow failing chains to be fully observed and easy to diagnose.
The XOR decoder masks or observes multiple scan chains per compactor, depending
on the mask code. For example, if the mask code is all 1s, then all the scan chains are
observed.
The decoder output is shifted through a multiplexer, and each bit drives one input on
the masking AND gates in the compactor to either disable or enable the output,
depending on the decoder mode and bit value.
9) Importance of EDT_CLOCK, EDT_UPDATE and EDT_BYPASS?
EDT clock: - EDT clock shouldn’t share with scan clock or RAM clock because Scan
clock shouldn’t pulse during load and unload, edt clock is different is use to only edt
blocks like decompressor, compactor, controller, bypass.
EDT Update: - When EDT update is 1, compression Engine is on and also it will reset
Ring generator
EDT bypass:- EDT Bypass is 1, then it is in Bypass mode. EDT bypass is 0 then it is
compression mode. With the help of mux logic, bypass decompression and compactor
PART - 2
1) What is the reason for increase in pattern count for compressed mode?
In compressed mode edt logic is apply to scan chains, in compression mode is
use to reduce test time and test data volume, to archive the best coverage compression
ratio will increase due to this reason scan chain also increase, when scan chains are
increase automatically number of pattern are increase but in normal mode scan chain
are low compare to compressed mode that why number of pattern count are in increase
in the compressed mode.
2) How to decide EDT channel count?
The number of EDT channel are decide by how many pin are available for the
test purpose in chip, the number channel count information take from RTL team, in
case more number of pin are available in chip, based on the which is gives the best
coverage of the chip by use the compression ratio.
Ex: like ideal cases
External channel are 4 channels you may get coverage is 90%
External channel are 5 channels you may get coverage is 95%
External channel are 6 channels you may get coverage is 98%
We have to take 6 channels for the best coverage