Practically Realizing Random Access Scan
Practically Realizing Random Access Scan
Practically Realizing Random Access Scan
Anand S. Mudlapur
PI PO
Combinational Circuit
Scan-in Scan-out
FF FF FF
Test control
(TC)
• A grid architecture as
shown in the
adjoining figure
• Flip-flops contents
read out row-wise
• Data from the flip-
flops fed into a MISR
PI PO
Combinational Circuit
CK
Scan-out CK TC
HOLD
V1 settles
HL SFF TC
Scan-out
V1 s-in V2 state
HL SFF Scan-in
scan-in Test result
latched
HOLD V1 V2
CK TC
11/15/2005 MS Thesis Defence 13
Introduction to RAS
• Random Access Scan (RAS) offers a single
solution to the problems faced by serial scan (SS):
– Each RAS cell is uniquely addressable for read
and write.
– RAS addresses both test application time and test
power problems simultaneously
• Previous and current publications on RAS:
• Ando, COMPCON-80
• Wagner, COMPCON-83
• Ito, DAC-90
• Baik et al., VLSI Design-04, ITC-05, ATS-05, VLSI Design-06
• Mudlapur et al., VDAT-05, ITC-05
• Disadvantage: High routing overhead – test
control, address and scan-in signals must be
routed to all flip-flops.
11/15/2005 MS Thesis Defence 14
Contributions of Present Work
• Eliminate scan-in signal from circuit by
using a new toggling RAS flip-flop.
• Eliminate test control signal to flip-
flops.
• Provide a new scan-out architecture:
– A hierarchical scan-out bus
– An option of multi-cycle scan-out
Address
Inputs FF FF FF Scan-out
bus
Decoder These signals
Scan-in
are eliminated
TC in our design
During every test, only a subset of all Flip-flops needs to
be set and observed for testing the targeted faults
11/15/2005 MS Thesis Defence 16
Conventional RAS
Combinational
Logic Data
M Combinational
U
X M S Logic Data
M
Scan-in U
X
Clock
Mode
RAS-FF
Address
Decoder
Combinational U To Output
0X
M S BUS
Logic Data
Clock
x Output
BUS
y RAS-FF Control
√nff Lines √nff Lines
Column
Row Decoder
Decoder
Address (log2nff)
11/15/2005 MS Thesis Defence 18
Toggle RAS Flip-Flop Operation
Address decoder outputs
Function Clock
Row (x) Column (y)
Inactive 1 0
Inactive 0 0
Decoded
address y1 y2 y3
lines
11/15/2005 MS Thesis Defence 20
Macro Level Idea of Signals to RAS-FF
4-to-1 Scan-out
RAS RAS RAS RAS Macrocell
FF11 FF12 FF13 FF14
x1
Control From
4 RAS FFs { Control Signal to
Next Level BUS
6n ff n ff
Gate area overhead of = 100%
Random Access Scan ng 10n ff
where nff – Number of Flip-Flops
ng – Number of Gates
Assumption: D-FF contains 10 logic gates.
11/15/2005 MS Thesis Defence 24
Gate Area Overhead (Examples)
1. A circuit with 100,000 gates and 5,000 FFs
Gate overhead of serial scan = 13.3 %
Gate overhead of RAS = 20.0 %
(Typical example from an industrial circuit.
Details in later slide)
Address 0 10 01
Inputs RAS-FF RAS-FF RAS-FF
Scan-out
bus
Decoder
(thousands)
400
200
0
s3271 s3384 s5378 s13207
Circuits
Scan RAS
11/15/2005 MS Thesis Defence 29
Test Power
(Normalized to
Test Power
serial scan)
0.1
0.01
0.001
s3271 s3384 s5378 s13207
Circuits
Scan RAS
11/15/2005 MS Thesis Defence 30
Case Study on an Industrial Circuit
• A case study on an industry circuit was
performed at Texas Instruments India Pvt. Ltd.
• The preliminary results were as follows:
1. The gate area overhead of RAS for a chip with
~5500 Flip-Flops and ~100,000 NAND equivalent
gates was of the order of 18%.
2. 4X reduction in test time was estimated. A speed-
up of up to 10X was considered possible using
ATPG heuristics.
3. Estimated routing and device area overhead of
RAS in physical layout was 10.4%.
11/15/2005 MS Thesis Defence 31
Conclusion
• New design of a “Toggle” Flip-Flop reduces
the RAS routing overhead.
• Proposed RAS architecture with new FF has
several other advantages:
– Algorithmic minimization reduces test cycles
by 60%.
– Power dissipation during test is reduced by
99%.
• A novel RAS scan-out method presented.
• For details on “Toggle” Flip-Flop, see
Mudlapur et al., VDAT-05.
11/15/2005 MS Thesis Defence 32
Backup Slides