Beruflich Dokumente
Kultur Dokumente
not want to put memory BIST logic. It can also be used to test logic around memories, but
normally a wrapper around memory, such that Memory output is bypassed with Memory
Input signals, is used to test logic around memories.
During RAM sequential patterns, you need to make sure that memories can be enabled,
read enable can be set and Valid data can be put on data and address bits using SCAN
Flops. Moreover it should also be made sure that during shift phase data written in memory
should not get corrupted, i.e. Write Enable should not toggle during scan shifting.
Generating Ram seq patterns can be tricky at times - as the user needs to define the read
and write cycles properly....
As an alternative to Ram sequential patterns you can try generating clock seq patterns to
test the shadow logic around the memories.
You can do the following things
1. Increase the sequential depth for the design
2. Also (for fastscan) you need to define the read and write clocks for the memories
Commands:
add read control
add write control
The clock_name mentioned above is the clock that is used to clock the memories during
scan mode. for more details you can refer to the tool document.
Another important thing to take care before generating clock seq patterns ...... make sure
you have the ATPG (functional) models for the memories.
Few important questions:-
Ans: FastScan performs clock sequential test generation if you specify a non-zero
sequential depth.
Setting the -Sequential switch to either 0 (the default) or 1 results in patterns with a
maximum sequential depth of one, but FastScan creates clock sequential patterns
only if the setting is 1 or higher.
The maximum allowable sequential depth is 255 (a typical depth would range from
2 to 5).
Coverage Improvement :
Also,(while using named capture procedure) gradually add more capture procedures
with higher sequential depth until the test coverage goal is achieved or the pattern
count limit is reached.
Ans: Difference between scan flop and simple flops becomes more easy to
understand when we know why do we need scan flop!!
A pair of at-speed vectors that test a path delay fault; fault detection is not
guaranteed, because it depends on other delays in the circuit.
Robust Tests:
A pair of at-speed vectors that test a path delay fault independent of other delays or
delay faults in the circuit.
4. What are the techniques used to reduce pattern count without losing coverage ?
Ans: The number of test patterns that you need to achieve full coverage depends on
the design size. Different ATPG tools offer different compression and pattern
ordering techniques to help reduce pattern count.
fault models beyond stuck-at typically require pattern counts that are much larger
than those for stuck-at only.
For Pattern reduction, first step is the chain balancing during Stitching or scan
insertion. If your chains are balanced, Tool needs to insert less dummy patterns for
reaching till required flop.
Also we can include compression on the chains where we have constraints on the
pins of device.This means if we are having the compression factor of 2 then your 1
scan chain will get divided into 2 inside the device reducing your chain length (flops
per scan chain).
5. Are the faults on the resets of the flops are detected? if so how are they detected?
Ans: Yes the faults on reset of the flop are detectable. It is detected in the following
way
2) Let us assume that the reset of the flop is active low. Keep the reset as 'high' and
scan in '1' in to the flop (during this scan enable is 'high')
3)As we have scan-in '1' the Q of the flop will have '1'
4) Make the scan-enable 'low' and toggle the reset(i.e. make it low). This is allowed
because we have declared the reset as clock.
5) As reset is 'low' the flop need to get reset and whatever the value in the flop will
become '0'
6) Then strobe for '0', while shifting-out the contents from the flop.
7) If the output while shifting out is '0', it means the reset pin of the flop is not
stuck-at 1. Otherwise it is stuck at '1'.
Note:
2. The reset pins of all flops should be controllable from Top (Chip) level.
If your design contains a lot of synchronous reset flops. Then since during AC
(transdly) testing these reset line faults are not targeted for AC, Constraining the
reset to off state is the best way.
Bist wrapper cells (* some) and clock gating cells (* latches) are not the pat of scan
chain
HITEST2:
HITEST1:
FLAT :
Only BYPASS.
TransByp : along with extest bypass chains, there will be some feed through chains
will also be traced.
Chain ExtestByp_mode_i_1_feed_through_chain successfully traced with 4
scan_cells.
TDF
In tdf we are targeting one clock at a time. So add faults which are only associated
with the clock
Faults from
launch clk1 to capture clk1
Launch PI to capture clk1
Launch clk1 to capture PO