Compression Notes
Compression Notes
DFT Architecture
Clock Architecture
TEST Plans
DFT Goals
Tester requirements
DFT Implementation
Scan Insertion: -
DFT Goal1
Controllability and Observability: - To high test coverage
Scan Insertion
DFT Goal2
To reduce test time and Test data Volume
Compression
Design Specification
Design having 60000 flops and 6 Scan Channels (IO/ PADs)
1) Without Compression
Each Channel having 10000 flops. It means 10000 shift in and 10000 Shift out
Scan channels are decided by ATE and design team.
2) With Compression
Design having 60000 flops and 6 Scan Channels (IO/ PADs)
a. Internal Scan Chains 100, 600 flops per chain, 600 shifts in /600
shift out
b. Internal scan chain 1000, 60 flops, 60 shifts in/shift out
c. Internal scan chain 10000, 6 shifts in 6shift out
d. How to find out internal scan chains
1)Decompression
2 Compactor
Scan Insertion is common is for both full bypass(without compression) and
with compression
Full bypass :- Without compression
Compression:- with compression logic
EDT PINS:
1) Edt Clock
2) EDT Update
3) EDT Bypass
1) EDT SINGLE CHAIN BYPASS (DAISY MODE)
a. It is used for system level debug
b. Current design having 16 blocks including Chip top. Flop count 16
LAKHS flops. All 16 lakh flops formed a single chain and shifting
data through TDI and TDO at board level
2) At netlist stage
a. First Scan insertion with more internal scan chains with
maximum chain length
b. Generate EDT IP RTl
c. Synthesize EDT IP RTL
d. Concatenate Scan inserted netlist and EDT IP netlist through tool
e. Whenever Synthesis or scan stitching, re-do EDT insertion every
time
Mask Hold register
Mask shift register.
X-sources
1) Non scan logic
2) Analog logic
3) Hard macros
4) Memories
Design having 500 scan chain length
500 Shifting +shift out = 1000 cycles
1) Pipeline stages, 1 or 2, input and output side== 4 cycles
2) Mask bits registers
3) Low power registers
Channels : 10, Internal chains 448, edt chain test patterns = 71
Channels : 8 internal chains 339, edt chain test patterns : 52
Tessent -shell
1) Scan insertion
a. Set_context dft -scan
2) Compression
a. Set_context dft -edt
3) ATPG
a. Set context patterns
All Modes
1) Setup mode
2) Analysis Mode
3) Interactive mode
Library models
1) DFFQX1 – D flip-flop ( before scan conversion)
2) SDFFQX1 – Corresponding Scan flop for DFFQX1
Netlist
1) Synthesis team will release netlist with scan conversion flops using
compile scan switch
2) Scan stitching
Current Labs
1) Scan conversion and Stitching happens together
STA
1) Check clocks in shift mode
2) Check clocks in Atspeed
3) Check clocks for MBIST
DRC :-
1) S1, S2, S3 – Traceability issues
2) C6 – Clock data race conditions, Clock is reaching to Data
3) C7 – During Capture, clock is not propagating. Due to this, Coverage loss
4) T24, Related Lockup Latches
Impact :-
1) Coverage loss
2) Simulation mismatches ( Notiming and Timing)
3) Anything related to the tester
Before RTL Freeze
1) Coverage should be greater than 99 and Transition Coverage should be >
80%
2) All No timing simulation should pass including transition delay pattern
and measure 2 pulses during capture
3) Analyse all reports, warnings and errors across all stages
1) Decompressor logic
2) Compactor logic
3) EDT Controller
4) EDT bypass logic
Dma_top_edt_rtl.v Scan inserted netlist and instantiation of
Dma_edt.
Dma_edt.v module definition of Dma_edt with RTL logic.
Synthesize Dma_edt.v RTL file
Once Synthesis is done, concatenate of Dma_top_edt_rtl.v and
Synthesized Dma.edt.v file
DFT Flow
Design Specification/DFT specification
RTL/DFT RTL( JTAG/BSCAN)
Synthesis
Scan Insertion ( If any DRC , go back to RTL)
Compression ( If any DRC, go back to RTL
MBIST Insertion ( If any clock issues, go back to RTL)
ATPG Pattern generation
Simulation (Notiming and Timing )
Pattern handoff
PAD FUNC SCAN MBIST IDDQ BURNIN ANALOG
NAMES mode MODE
GPIO1 Scan MBIST
Channel DONE
1
GPIO2 Scan
Channel2
GPIO3 Scan BURNIN
Channel3 MONITOR
GPIO4 Scan
Channel4