Testing of Vlsi Circuits: Sequential Circuit Test Generation
Testing of Vlsi Circuits: Sequential Circuit Test Generation
Vinay Reddy
Department of Electronics & Communication Engineering
TESTING OF VLSI CIRCUITS
Vinay Reddy
Department of Electronics and Communication Engineering
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Syllabus
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Unit 3 - Part 1
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
The circuit contains internal memory whose state is not known at the beginning
of the test.
(b) a combinational test to activate the fault and bring its effects to the boundary of the
combinational logic, and
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Assumptions
We consider synchronous sequential circuits
- Signal propagation time through the combinational logic does not exceed the clock period
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
A Simplified Model
The combinational part is modeled at the gate level
- All single stuck-at-faults are considered in it.
Unit 3 - Part 2
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
A Simplified Model
Test Generation Methods
A Simplified Model
2. Simulation-based methods
• A fault simulator and a test vector generator are used to derive tests.
Numerical 4
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Unit 3 - Part 3
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Numerical 5
Notice that the fault is activated in both time-frames, although that is not
always necessary.
Numerical 6
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Unit 3 - Part 4
The state of a flip-flop Fi is considered dependent on another
TESTING OF VLSI CIRCUITS flip-flop Fj if there exists a combinational path from Fj to Fi.
Such dependence can be expressed by a directed graph, usually
Sequential Circuit Test Generation
called the s-graph
Time-Frame Expansion Method
In the s-graph, the node with 0 in-degree corresponds to a flip-flop whose state depends exclusively on primary
inputs.
We will levelize the s-graph by assigning a level number 1 to all 0 in-degree vertices.
The rest of the graph is then levelized such that the level number of a vertex is one greater than the maximum
level feeding into it.
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
Numerical 7
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
A=1
Time frame 1
B=0
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
A=1
After Time frame 1
B=0
A=X
After Time frame 1
A=X
Time frame 1
B=0
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
1
A=1
Time frame 2
1/0
1/0 0
1
0 1
B=0
0 1
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
1
A=1
Time frame 2
1/0
1/0 0
1
0 1
B=0
1
A=1
Time frame 2
1/0
1/0 0
1
0 1
B=1
Is this sufficient in TF2 ?
0 1
We have to make B = 1
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
1
A=1
Time frame 3
1/0
1 0
1
1 1/0 0/1
B=1
1
1 0/1
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
1
A=1
After Time frame 3
1/0
1 0
1
1 1 0
B=1
0/1
1 0
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
1
A=1
Time frame 4
1/0
1 0
0/1
1 1 0
B=X
0/1 Fault is propagated successfully
1 0
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Time-Frame Expansion Method
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Cyclic Circuit
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Cyclic Circuit
When CNT = 1, it
increments its state
(FF2,FF1), every time the
flip-flops are clocked.
When CNT = 1, it
increments its state
(FF2,FF1), every time the
flip-flops are clocked.
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Cyclic Circuit
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Cyclic Circuit
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Cyclic Circuit
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Cyclic Circuit it can be detected prior to initialization if the circuit powers-up
in the 11 state Notice that this is not a valid state in this
implementation of the modulo-3 counter.
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Even though a cyclic circuit can be made initializable by adding hardware, some
faults in the added circuitry can only be potentially tested. Those are the faults that
interfere with the initialization process.
Vinay Reddy
Department of Electronics & Communication Engineering
[email protected]
+91 9945730244
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Vinay Reddy
Department of Electronics & Communication Engineering
TESTING OF VLSI CIRCUITS
Vinay Reddy
Department of Electronics and Communication Engineering
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
Syllabus
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
1. CONTEST Algorithm
2. Genetic Algorithm
TESTING OF VLSI CIRCUITS
Sequential Circuit Test Generation
CONTEST Algorithm
Vinay Reddy
Department of Electronics & Communication Engineering
[email protected]
+91 9945730244