Академический Документы
Профессиональный Документы
Культура Документы
Scan
Scan Design
Design
Virendra Singh
Indian Institute of Science (IISc)
Bangalore
virendra@computer.org
E0-286: Testing and Verification of SoC Design
Lecture 17
Feb 29, 2008
E0-286@SERC
Partial-Scan
Partial-Scan Definition
Definition
E0-286@SERC
Partial-Scan
Partial-Scan Architecture
Architecture
PI
PO
Combinational
circuit
CK1
FF
CK2
FF
SCANOUT
SFF
TC
SFF
SCANIN
Feb 29, 2008
E0-286@SERC
Relevant
Relevant Results
Results
Theorem1: A cycle-free circuit is always
initializable. It is also initializable in the presence
of any non-flip-flop fault.
Theorem 2: Any non-flip-flop fault in a cycle-free
circuit can be detected by at most dseq + 1 vectors.
ATPG complexity: To determine that a fault is
untestable in a cyclic circuit, an ATPG program
using nine-valued logic may have to analyze 9Nff
time-frames, where Nff is the number of flip-flops
in the circuit. Whereas a cycle-free circuit needs
dseq + 1 time frames.
E0-286@SERC
A
A Partial-Scan
Partial-Scan Method
Method
Select a minimal set of flip-flops for scan to
eliminate all cycles.
Alternatively, to keep the overhead low only
long cycles may be eliminated.
In some circuits with a large number of selfloops, all cycles other than self-loops may be
eliminated.
E0-286@SERC
The
The MFVS
MFVS Problem
Problem
L=3
1
4
L=1
A 6-flip-flop circuit
Feb 29, 2008
E0-286@SERC
L=2
s-graph
6
Test
Test Generation
Generation
E0-286@SERC
Partial
Partial Scan
Scan
R1
C2
R3
C1
C4
R2
C3
R4
R5
R6
E0-286@SERC
Partial
Partial Scan
Scan
R1
C2
R3
C1
C4
R2
C3
R4
R5
R6
E0-286@SERC
Partial
Partial Scan
Scan
R1
C2
R3
C1
C4
R2
C3
R4
R5
R6
E0-286@SERC
10
Partial
Partial Scan
Scan Example
Example
Circuit: TLC
355 gates
21 flip-flops
Scan
Max. cycle
flip-flops
length
Depth* ATPG
CPU s
14
1,247
61
89.01%
805
805
10
157
11
95.90%
247
1,249
32
99.20%
136
1,382
10
13
100.00%
112
1,256
21
100.00%
52
1,190
E0-286@SERC
11
Partial
Partial vs.
vs. Full
Full Scan
Scan
S5378
S5378
Number of combinational gates
Number of non-scan flip-flops
(10 gates each)
Number of scan flip-flops
(14 gates each)
Gate overhead
Number of faults
PI/PO for ATPG
Fault coverage
Fault efficiency
CPU time on SUN Ultra II
200MHz processor
Number of ATPG vectors
Scan sequence length
Original
Partial-scan
Full-scan
2,781
179
2,781
149
2,781
0
30
179
0.0%
4,603
35/49
70.0%
70.9%
5,533 s
414
414
E0-286@SERC
2.63%
4,603
65/79
93.7%
99.5%
727 s
1,117
34,691
15.66%
4,603
214/228
99.1%
100.0%
5s
585
105,662
12
No
No Serial
Serial Scan
Scan (???)
(???)
A
A solution
solution to
to test
test power,
power, test
test time
time and
and test
test
data
data volume
volume
Test length
Test power
Test Compression
Orthogonal attack
Random access scan instead of Serial-scan
Hardware overhead? Silicon cost << Testing cost
E0-286@SERC
13
Thank You
Feb 29, 2008
E0-286@SERC
14