0% found this document useful (0 votes)
2 views44 pages

Module 3-Design For Testability

The document discusses Design for Testability (DFT) in VLSI circuits, emphasizing its importance in reducing testing costs and improving product quality. It outlines various DFT techniques, including ad-hoc methods and scan design, aimed at enhancing controllability and observability of circuits. Additionally, it highlights the challenges and costs associated with implementing DFT strategies.

Uploaded by

RAJESH SKR
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views44 pages

Module 3-Design For Testability

The document discusses Design for Testability (DFT) in VLSI circuits, emphasizing its importance in reducing testing costs and improving product quality. It outlines various DFT techniques, including ad-hoc methods and scan design, aimed at enhancing controllability and observability of circuits. Additionally, it highlights the challenges and costs associated with implementing DFT strategies.

Uploaded by

RAJESH SKR
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

SRI RAMAKRISHNA ENGINEERING COLLEGE

VATTAMALAIPALAYAM, N.G.G.O. COLONY POST,


COIMBATORE – 641 022.

Module 3
Design for Testability

6/19/2023 Testing of VLSI Circuits 1


Testability

• Testability is a concept that deals with costs associated with testing.

• Increase testability of a circuit


– Some test cost is being reduced
• Test application time
• Test generation time
• Fault simulation time
• Fault location time
• Test equipment cost

6/19/2023 Testing of VLSI Circuits 2


Design for Testability (DFT)

Goal: keep test cost within a reasonable bound and ensure product quality exceeds
desired level.
Definition - Design for Testability (DFT) refers to those design techniques that
make test generation and testing cost-effective and ensure high-quality testing.

• DFT mainly addresses the difficulty of testing sequential circuits.


• DFT helps in making the internal flipflops easily controllable and observable.
• Controllable means you can initialize them into any value you want;
observable means we can see or read out their values whenever we want.
Some DFT techniques./methods
1. Ad-hoc techniques
2. Scan technique - full and partial
3. Built-in self-test (BIST) Structured techniques
4. Boundary scan
. 6/19/2023 Testing of VLSI Circuits 3
Important factors of testability

Important factors of Testability


1. Controllability: Measure the ease of controlling a line ie., it can be set
to any value.
2. Observability: Measure the ease of observing a line at a PO (primary
output).
• In general, DFT deals with ways for improving controllability and
observability
Costs associated with DFT :
• Pins
• Area/Yield
• Performance
• Design time

6/19/2023 Testing of VLSI Circuits 4


Adhoc Testing
Technique

6/19/2023 Testing of VLSI Circuits 5


Adhoc Testing
• Adhoc testing refers to collections of ideas that are aimed at reducing the
combinational explosion of testing.
• Insert test points to increase controllability and observability.
CP: Control Points – Primary inputs used to enhance controllability;
OP: Observation Points – Primary outputs used to enhance observability.
• To increase the testability , it is necessary to make nodes more accessible at some
cost by physically inserting more access circuits to the original design.
The different designs are as follows:
1) Insert Test points to improve controllability and Observability
2) Partition and Multiplexer techniques
3) Disable Internal Oscillators and Clocks
4) Avoid Asynchronous Logic and Redundant Logic
5) Avoid delay dependent logic
6) Avoid clock gating
7) Initialize sequential logic
6/19/2023 Testing of VLSI Circuits 6
Methods of Adhoc Testing

1) Insert Test points to improve controllability and Observability


• When a node has difficult access from primary inputs or outputs (pads of
the circuit), a very efficient method is to add internal pads.

Drawbacks:

6/19/2023 Testing of VLSI Circuits 7


Modifications

6/19/2023 Testing of VLSI Circuits 8


2. Partition and Multiplexer techniques
With this design technique, the number of accessible nodes can be
increased and the number of test patterns can be reduced.

6/19/2023 Testing of VLSI Circuits 9


6/19/2023 Testing of VLSI Circuits 10
3. Disable Internal Oscillators and Clocks
• To avoid synchronization problems during testing, internal oscillators
and clocks should be disabled.
• Disable =1

6/19/2023 Testing of VLSI Circuits 11


4. Avoid Asynchronous Logic and Redundant Logic
• Design and test of an asynchronous logic circuit are more difficult than for a
synchronous logic circuit. Its state transition times are difficult to predict.
• The operation of an asynchronous logic circuit is sensitive to input test patterns,
often causing race problems and hazards of having momentary signal values
opposite to the expected values.
• Logic redundancy is used to mask a static hazard condition for reliability.

6/19/2023 Testing of VLSI Circuits 12


5. Avoid Delay-Dependent Logic
• Chains of inverters can be used to design in delay times and use AND operation
of their outputs along with inputs to generate pulses
• ATPG programs

6/19/2023 Testing of VLSI Circuits 13


6. Avoid clock gating

6/19/2023 Testing of VLSI Circuits 14


7. Initialize sequential logic

6/19/2023 Testing of VLSI Circuits 15


Disadvantages of Adhoc testing

• Circuit too large for manual inspection and test generation.


• Not too many testability experts to consult.
• High fault coverage not guaranteed
• Design iterations required
• All the techniques do not represent an exhaustive list for Ad Hoc
Testing, but give a set of rules to respect as possible.
• Some of these guidelines goals are the simplification of test
vectors generation, others goals are the simplification of test
vectors application, and many others are to avoid timing problems
in the design.

6/19/2023 Testing of VLSI Circuits 16


Ad-hoc Design for Testability

• Design guidelines
– Avoid asynchronous logic
– Avoid clock gating etc.,
• Insert test points
- Employ test points to enhance Controllability & Observability
- CP: Control Points – Primary inputs used to enhance controllability
- OP: Observation Points – Primary outputs used to enhance
observability
Disadvantages
• High fault coverage not guaranteed
• Design iterations required

6/19/2023 Testing of VLSI Circuits 17


Scan Based Design for Testability

6/19/2023 Testing of VLSI Circuits 18


Scan Design

6/19/2023 Testing of VLSI Circuits 19


Scan Concept

Mode switch - 0/1 enables the mux ; say 0 for normal mode and 1 for test/scan-in mode
During normal mode, o/p of of CL is fed to FF i/p whose output is fed back to the i/p of CL.
During test mode, scan–in input is fed to the FF and scan-out is observed.

6/19/2023 Testing of VLSI Circuits 20


Tests for Full Scan Circuits

6/19/2023 Testing of VLSI Circuits 21


Scan Flipflop (SFF)

When TC=1, o/p of inverter is 0 and hence AND gate o/p is 0. Therefore D is fed directly
to the i/p of FF and FF is in normal mode of operation.

When TC = 0, inverter o/p is 1 and hence o/p of AND gate is SD which is fed to the FF .

6/19/2023 Testing of VLSI Circuits 22


Level Sensitive Scan Design FF
(LSSD-SFF)

6/19/2023 Testing of VLSI Circuits 23


Scan Design Rules

6/19/2023 Testing of VLSI Circuits 24


Scan Rule Violation - Example

6/19/2023 Testing of VLSI Circuits 25


Bus contention – normal mode

6/19/2023 Testing of VLSI Circuits 26


6/19/2023 Testing of VLSI Circuits 27
Problems with Full Scan

- due to larger FFs and extra routing

Performance Degradation :
Due to increase in delay of normal data paths that includes
extra gate delay due to the mux,
extra capacitive loading delay due to scan wiring of the FF output.

6/19/2023 Testing of VLSI Circuits 28


Partial Scan Approach

6/19/2023 Testing of VLSI Circuits 29


Partial Scan for cycle-free structure

6/19/2023 Testing of VLSI Circuits 30


Clocking Schemes for Partial scan circuits

6/19/2023 Testing of VLSI Circuits 31


6/19/2023 Testing of VLSI Circuits 32
Partial Scan with a separate scan clock or gated
clock

6/19/2023 Testing of VLSI Circuits 33


6/19/2023 Testing of VLSI Circuits 34
6/19/2023 Testing of VLSI Circuits 35
Using System clock for scan operation:

6/19/2023 Testing of VLSI Circuits 36


Timing driven partial scan

6/19/2023 Testing of VLSI Circuits 37


Summary of Sequential ATPG and Partial Scan

6/19/2023 Testing of VLSI Circuits 38


System Level DFT Approaches

6/19/2023 Testing of VLSI Circuits 39


Figure

6/19/2023 Testing of VLSI Circuits 40


6/19/2023 Testing of VLSI Circuits 41
6/19/2023 Testing of VLSI Circuits 42
6/19/2023 Testing of VLSI Circuits 43
Thank You

6/19/2023 Testing of VLSI Circuits 44

You might also like