Pression
Pression
Pression
Module 9
Compression Techniques
Objectives
9-2 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Understanding the ATPG Process
1. Target faults
2. Generate test cube: 1-5%
3. Random fill: 99-95%
4. Stimuli on ATE 5. Response on ATE
9-3 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Standard Test Application Process
2. CAPTURE
Scan flops
1. SHIFT IN capture
Stimuli responses
loaded
from ATE
to internal
scan chains
3. SHIFT OUT
(20 channels) Responses
shifted to
ATE
Stimuli
Stimuli ATE Response
Response (20 channels)
9-4 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
ATPG-Based Compression Techniques
Standard techniques
Static compression
Dynamic compression
Newer and more advanced ATPG approaches
Multi-clock compression
Domain analysis
Algorithm enhancements
Optimized pattern ordering
9-5 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Static Compression
Often not necessary but might help.
Delete redundant patterns.
Reverse and random-order fault simulation.
Pattern count reduction is circuit dependent.
9-6 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Dynamic Compression
Standard part of ATPG.
Several faults targeted per pattern.
Pattern count reduction is circuit dependent (2x – 10x).
Increased runtime.
9-7 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Multiple Clock Capture Per Pattern
9-8 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Clock Domain Analysis and Clock Merging
Shift Capture Shift
C1 C2
C1
Scan C3
Chains SE
C1 C2 C3
Merged
Clock
Pattern
9-9 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
ATPG Create Patterns Command
ATPG CREate PAtterns command automatically performs:
Quick AU analysis
Dynamic compression
Multi clock compression
(if depth >1)
Static compression
Basic pattern optimization
9-10 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
ATPG Create Patterns Command (Cont.)
9-11 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Balanced Scan Chains
Reducing Test Time
Balanced
Scan Chains 10
Finished Finished
Shift Time
Unbalanced 10
Scan Chains
9-12 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Short Scan Chains
Reducing Test Time
Short 20
Scan Chains
Finished Finished
Shift Time
Long 10
Scan Chains
9-13 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Embedded Deterministic Test (EDT)
EDT is the technology behind Tessent TestKompress.
Based on standard scan with ATPG.
D
D
Deterministic pattern generation. E
E
CC
C
C
Requires onboard test logic: O
O
O
O
M
M
M
M
Decompressor P
P
P
A
P
A
R
R
Compactor E
E
CC
TT
S
S
Bypass (Optional) S
S
O
O
RR
O
O
Reduces test data volume. R
R
9-14 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Basic Terminology
Core
D
D
E
E
CC
C
C
O
O
O
O
M
M
M
M
PP
P
P
AA
R
R
CC
E
E
TT
S
S
O
O
S
S
RR
O
O
Scan Channels R
R
(External)
Scan Chains
(Internal)
9-15 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Data Volume and Test Application Time
Data Volume = L x W x H
H
No. of Scan Channels
W No. of Patterns
L
9-16 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
EDT Reduces Test Data Volume and Application Time
Standard ATPG
H
L
EDT
Decompressor Compactor
L
9-17 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
ATPG With EDT
4. Pseudorandom fill
D
D
E
E CC
C
C O
O
O
O M
M
M
M PP
P
P AA
R
R CC
E
E
3. Calculate S
S
TT
O
O
5. Calculate
S
S
stimuli O
O
RR response
R
R
1. Target faults
2. Generate test cube
9-18 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
EDT Test Application Process
2. CAPTURE
SHIFT IN D
D Scan flops
E
E
Compressed C
C
CC capture
O
O
stimuli shifted O
O
M
M responses
M
M
through P
P
PP (20 chains)
AA
decompressor R
R
CC
E
E
(2 channels) S
S
TT
S
S
O
O 3. SHIFT OUT
RR
Random fill
O
O Responses
R
R
added to stimuli compacted
inside during shift
decompressor to ATE
(20 chains) through
Compressed Compacted compactor
Compressed
Stimuli
Stimuli
ATE Compacted
Responses
Responses (2 channels)
9-20 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
EDT Logic
9-21 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
The Decompressor
Logic blocks
Ring generator
– Generates pseudorandom patterns R
R
II P
P
Phase shifter N H
H
N
– Eliminates linear dependencies G
G A
A
S
S
Data and control signals G
G E
E
EE
EDT_Update NN SS
EE HH
EDT_Clock RR II
AA FF
Scan channel and chain inputs TT TT
EE
Masking data (output only) O
O
RR
RR
Routing characteristics
Shallow combinational depth
– High operating speed
9-22 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
The Compactor
Logic blocks
XOR tree
– Not MISR based
Masking Logic
– No fault masking or aliasing CC
O
O
Data and control signals M
M
PP
EDT_Update AA
CC
EDT_Clock TT
O
O
Masking data (input only) RR
Scan chain and channel outputs
Routing and performance
characteristics
Pipeline stages for increased speed
9-23 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Tessent TestKompress
Industry Standard for Embedded Deterministic Test (EDT) Compression
9-24 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Tessent TestKompress Flows and Usage
Operating modes
EDT logic creation
– Post-core-synthesis
• Automated integration with wrapper
• Automated integration without wrapper
– Pre-core-synthesis
• No automated integration
– Coverage and compression estimation
Pattern generation
– Same as ATPG
• Tessent FastScan DFT libraries
• Tessent FastScan commands
• Output vector formats
– Differences
• Additional design rule checking
• Additional Tessent TestKompress commands
9-25 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
EDT Logic Creation
6 EDT logic creation commands:
SET EDt OFf | ON
9-26 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Default Flow: Post-Core-Synthesis With Wrapper
RTL-Level
Top-level Integration EDT Logic
Netlist
EDT Logic
9-27 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Summary: ATPG and EDT
Everything applicable to ATPG is
applicable to EDT (TestKompress
logic).
All fault models.
At-speed test.
All pattern types.
Pattern compaction.
ATPG methodology is a
prerequisite to EDT.
Understanding the “basics”
enables you to understand EDT.
For more information about EDT
refer to The Tessent TestKompress
User’s Guide or take the 2-day
Design-for-Test: Tessent
TestKompress and Advanced
Topics class offered by Mentor
Graphics Education Services.
http://www.mentor.com/training_and_services/training/centers/worldwide_training_centers.cfm
9-28 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation
Lab Exercise 9: Exploring Compression Techniques
During this lab, you will
9-29 • Tessent: Scan and ATPG: Compression Techniques Copyright © 1999-2009 Mentor Graphics Corporation