DFT Interview Questions & Answers
DFT Interview Questions & Answers
By
Siva Sreeramdas
VLSI Design Flow
Specifications
Architectural Design
Logic Synthesis
DFT Insertion
Physical Design
Fabrication
SCAN
• We can control the inputs and observe the output nodes in a planned
manner.
• Replacing all the flipflops with scan flops.
• Scan chains are inserted into the design to shift the test data into and out
of the chip.
• This is done by making every point in the chip controllable and observable.
• Purpose is to test the stuckat faults and also to test path in manufacturing devices
for delay.
D MUX
Q
SI
FF
SE
CLK
ATPG DRC’s
Bypass mode Violations:
Error message :
Scan chain blocked at gate N (G) after tracing C Cells
1. T3
P Q 010 0
A FF 1
D
1
Programming register
• Here above one cell advance data is detected at EDT decompressor output
during chain index.
Expected 0 0 0 0 0 1 0 1 1 0 1 1 0
Simulated 0 0 0 0 1 0 1 1 0 1 1 0 0
4. F8
• To debug this F violation, we need to turn off the edt finder in the shell.
EX: set_edt_finder off
set_system_mode analysis
• The above violation will turn in to T3 or T5, K19 etc.. Which is easy to
debug.
5. E8
• Multiple clocks are used to shift master of scan chain causing E8 violation.
• Two clocks leads to clock skew on the tester.
Lockup Latch
• They are mainly used to reduce the clock skew.
• When ever there is any domain crossover happens this lockup latch are
used.
• This lockup latches are used to fix the hold time issues in shift mode.
• With out lockup latch, it is difficult for the STA team to close the timing in
scan chains.
• This lockup latch induce half cycle delay.
• Always use –ve flop followed by +ve flop during intersection.
D1 Q1 D Q D2 Q2
FF1 L FF2
CLK1 EN
CLK2
Waveforms
CLK
D1
Q1
L_D
L_Q/D2
Q2
Simulations
Zero delay
• Zero delay is used to validate the scan structure
Timing
• Timing is to cross check, all the gate elements are meeting the timing or not.
2. Simulated x expected 0
• ram_wrap registers are failing, I have masked all the registers .
• By added cell_constraints on the output of this ram_wrap to TX.
• Rerun the atpg for pattern generation and simulated the patterns, later this issue got
fixed.
3. Simulated 1 expected 0
• In the log file tool will show you the exact failing register and particular
time and also the cycle in which it is failing.
• I have opened the failing register in the visualizer and also in the
waveform.
• I trace backed the pin into the combinational logic and analyzed what
values it is simulating.
• I analyzed do there is any logic in between that it is not able to propagate
the value.
• I have added the forces in the output pin in the cmd file.
Timing Debug
Simulated x expected 0
• For timing related failures, open the failing pattern both in zero delay and
also in the timing and compare both the waveforms and debug.
Zero delay
CLK
SE
Timing
CLK
SE
CLK
SE
SE
Verification
Functional Formal
(Logic verification test)
cadence synopsis
(conformal) (formality)
Cadence
• Golden netlist means synthesized netlist -> functional mode
• Revised netlist means scan inserted netlist -> test mode
Synopsis
• Referenced netlist which is synthesized netlist - > functional mode
• Implemented netlist which is scan netilst -> test mode
Functional Verification
• Verifying that a design has the desired functionality, it was intended to
have.
• It is about creating the write all possible combinations of test to verify the
SoC.
Formal Verification
• It doesn't care if your SoC is going to be a USD or any.
• It understands the SoC as a normal block with inputs and outputs and
flops.
• The combo logic between flops is matters.
• It include gate-level simulation, Static timing analysis, and formal
equivalence checking
• These are tools aimed at verifying that the synthesis tool created a valid
and equivalent netlist to the original RTL.
Compression
• It is mainly used to reduce the test application time and test data volume.
• As the test time is reduced test cost is also reduced.
EDT Decompressor
Compactor
Compressed Compacted
stimuli ATE responce
Decompressor
• Consists of ring generator and phase shifters
• Decompressor drives scan chain input
• Output of ring generator is connected to input of scan chain through
phase shifters
Compactor
• It consists of masking logic and xor tree.
• Compactor drives the scan chain output
• Masking logic consist of pattern mask register, decoder and AND gates
before xor.
• Masking logic can handle any number of X’s.