Professional Documents
Culture Documents
Learning Outcome
Students will be able to articulate the Design strategies for
test
2
DESIGN STRATEGIES FOR TEST
Design for testability:
The key to designing circuits that are testable are the two
concepts that introduced called controllability and
observability.
Controllability is the ability to set (to 1) and reset (to 0)
every node internal to the circuit.
Observability is the ability to observe either directly or
indirectly the state of any node in the circuit.
3
DESIGN STRATEGIES FOR TEST
Design for testability:
The three main approaches to what is commonly called
design for testability.
These may be categorized as:
Ad-hoc testing
Scan-based approaches
Self-test and built-in testing
4
Scan-Based Test Techniques
A collection of approaches have evolved for testing that
lead to a structured approach to testability.
The approaches stem from the basic tenets of controllability
and observability.
They are effective for circuit partitioning
They provide controllability and observability of
internal state variables for testing
They turn the sequential test problem into a
combinational one
5
Scan Design Approaches
Four major approaches:
Shift-register modification
Scan path
Level-sensitive scan design (LSSD)
Random access
6
Scan Design Approaches
7
Scan Design Rules
Use only clocked D-type of flip-flops for all state variables
At least one PI pin available for test; more pins, if
available, can be used
All clocks controlled from PIs
Clocks must not feed data inputs of flipflops
8
Scan Variations
There have been many variations of scan as listed below,
few of these are discussed here.
MUXed Scan
Scan path
Scan-Hold Flip-Flop
Serial scan
Level-Sensitive Scan Design (LSSD)
Scan set
Random access scan
9
Scan Flip-Flops
10
Shift Register Modification Approach
11
Scan path
In this approach multiplexing is done by two different clocks instead of a MUX
12
Scan path
13
Scan Design Rules
Use only clocked D-type of flip-flops for all state variables
At least one PI pin available for test; more pins, if
available, can be used
All clocks controlled from PIs
Clocks must not feed data inputs of flipflops
14
Multiple Scan Registers
Possibility of distributing scan flip-flops among any number
of shift registers, each having a separate scanin and scanout
pin
Test sequence length determined by the longest scan
shift register
Just one test control (TC) pin essential
15
Partial Scan
Subset of flip-flops is scanned:
Objectives:
Minimizing area overhead and scan sequence length, while
achieving required fault coverage
Excluding selected flip-flops from scan:
Improvement of performance
Allowing on limited scan design rule violations
Allow automation:
In scan flip-flop selection
In test generation
Shorter scan sequences
16
Partial Scan Architecture
17
Flip Flop Partial Scan
18
Partial Scan
Generalized scan method; scan varying from 0 to 100%
Partial-scan has lower overheads (area and delay) and
reduced test length
Partial-scan allows limited violations of scan design
rules, e.g., a flip-flop on a critical path may not be scanned
19
Clocked Scan Flip Flop
20
Clocked Scan Flip Flop
21
Clocked Scan Architecture
22
Clocked Scan Architeture
23
Scan Hold Flip Flop
Special type of scan flip-flop with an additional latch designed for
low power testing application.
The control input HOLD keeps the output steady at previous state of
flip-flop.
For HOLD = 0, the latch holds its state and for HOLD = 1, the
hold latch becomes transparent.
For normal mode operation, TC = HOLD =1 and for scan mode,
TC = 1 and Hold = 0.
Hardware overhead increases by about 30% due to extra
hardware the hold latch.
This approach reduces power dissipation and isolate
asynchronous part during scan.
24
Scan Hold Flip Flop
25
Level-Sensitive Scan Design
Latch-based design used at IBM
Race- & hazard-free operation and testing
Insensitive to rise time, fall time, delay, etc.
Faster than shift register (SR) modification;
low hardware complexity
More complicated design rules
Uses 2 latches
One for normal operation and one for scan
26
Level-Sensitive Scan Design
A logic circuit is level sensitive if the steady state response
to any allowed input change is independent of the delays
within the circuit.
27
Polarity-Hold Latch
28
Polarity-Hold Shift Register Latch
29
Shift Register Latch (SRL)
30
Double Latch-based Design (w/o LSSD)
31
Double Latch-based Design (w/o LSSD)
32
Shift Mode
33
Double Latch based design (w/LSSD)
34
Test Mode Operation
35
Polarity-Hold Shift Register Latch
36
37
LSSD
38
39
40
Random Access Scan
41
Random Access Scan
It uses an address decoder. By using address decoder we can
select a particular FF and either set it to any desired value or
read out its value.
42
43
44
45
Thank you
46