Testing of Vlsi Ckts
Testing of Vlsi Ckts
PREPARED BY : G.I.SHAMINI
Syllabus
RAM fault model – Test algorithm for RAMs. GALPAT – March Test – Detection of pattern
sensitive faults built in self test techniques for RAM chips. Self testable SRAM architecture.
Test generation and BIST for Embedded RAMs.
2. TF Transition Fault
3. CF Coupling Fault
– A cell has a transition fault (TF) if it fails to transit from 0 to 1 (a<↑/0> TF) or from
1 to 0 (a<↓/1>TF).
Page 1 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
A stuck-open fault (SOF) occurs when the cell cannot be accessed due to, e.g.,
a broken word line. A read to this cell will produce the previously read value.
There is a read disturb fault (RDF) if the cell value will flip when being read
(successively).
A test algorithm (or simply test) is a finite sequence of test elements: A test element contains
Page 2 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
r: the Read operation Reading an expected 0 from a cell (r0); reading an expected
1 from a cell (r1)
w: the Write operation Writing a 0 into a cell (w0); writing a 1 into a cell (w1)
Initial state
(w1)
Addressing cell 0 Addressing cell 1 Addressing cell 2 Addressing cell 3
(r1,w0)
Page 3 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
MATS+ detection of TFu&TFd can be proved in the same way. SAFs & TFs can be
detected by a march test which contains the following two march elements (or single march
element containing both elements).
Page 4 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
Detection of CFs :
M1 is executed
M3 is executed
Conditions for detecting CFs :− A march test which contains one of the two pairs of march
elements of Case A & Case B can detect simple CFs (CFin, CFst, CFid).
Case A
1.
2.
Case B
1.
2.
Page 5 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
A.1 (A.2) will sensitize the CFs, and it will detect the fault, when the value of the
fault effect is x’ (x), by the rx (rx’) operation of the first (second) march element when the
coupled cell has a higher (lower) address than the coupling cell.
2.1.3 March Tests for DRFs
Data retention faults (DRFs) two subtypes:
A stored ‘1’ will become a ‘0’ after a time T
A stored ‘0’ will become a ‘1’ after a time T
Conditions for detecting DRFs
Any march test can be extended to detect DRFs
The detection of each of the two DRF subtypes requires that a memory cell be
written into the corresponding logic states
If we are detecting only simple DRFs then the delay elements can be placed between any two
pairs of march elements, e.g.,⇑ (rx’,. . . ,wx) ; Del; ⇓(rx’,. . . ,wx).
2.1.4 March Tests for AFs
Conditions for detecting AFs are as follows:
1. Read the value x from cell 0, then write x’ to cell 0, …, read the value x from
cell n-1, then write x’ to cell n-1.
2. Read the value x’ from cell n-1, then write x to cell n- 1, …, read the value x’
from cell 0.
Sufficiency of the conditions for detecting AFs
1. Fault A & B: Detected by every test that detects SAFs. When address A x is
written and read, Cx will appear either SA0 or SA1.
2. Fault C: Detected by first initializing the entire memory to an expected value
x or x’. Any subsequent march element operation that reads the expected
value x and ends by writing x’ detects fault C.
3. Fault D:
The memory my return a random result. The fault must be generated
when Ax is written, and detected when either Aw and Av is read
Condition 1 detects fault D1 and D2
Condition 2 detects fault D1 and D3
Necessity of the conditions for detecting AFs
Remove rx from Condition 1 : A test cannot detect fault A or B for the case they
always return x’
Remove rx’ from Condition 2 : A test cannot detect fault A or B for the case they
always return x
Remove rx or wx’ from Condition 1 : A test cannot detect fault D2
Remove rx’ or wx from Condition 2 : A test cannot detect fault D3
Page 6 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
Remove both write operations : A test cannot detect fault C and fault D1
The basic concept of pattern sensitive is the victim cell is forced to 0 or 1 if a certain
number of neighbors show a particular pattern. The PSF is the most general k-coupling fault
with k=n. With the Neighborhood Pattern Sensitive Fault (NPSF), the neighborhood is
limited to all the cells in a single position surrounding the base cell which is represented in
figure 1.
There are several methods and algorithms to perform tests for Neighborhood Pattern
Sensitive Faults (NPSFs). A type 1 neighborhood contains five cells that is the base cell and
the four cells physically adjacent to the base cell which is shown in figure 2 . Usually the type
1 neighborhood is used because the deleted neighborhood of the type 1 neighborhood is most
likely to influence the base cell (since all neighborhood share a row or a column with the base
cell) and because of its simplicity and smaller test time. The type-2 NPSF is with 8
neighborhood cells which is shown in figure 3.
Cells N,W,B,E,S is represented as 0,1,2,3,4 and 5. The main types of NPSFs are Active
NPSF, Passive NPSF and static NPSF.
Page 7 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
The content of the base cell is forced to a certain state due to a certain
neighborhood pattern
Each base cell must be read in state 0 and in state 1, for all permutations in
the neighborhood pattern
It is essential to minimize the number of writes during NPSF testing. SNPSF patterns are
produced following an Hamiltonian sequence (hamiltonian distance of 1 between patterns,
Gray code for example): k+2k-1 writes. ANPSF and PNPSF patterns are produced following
an Euleriansequence : k+k.2k writes . The number of writes furtherreduced by testing the
neighborhoodssimultaneously. It isperformed by twomethods. That are Tilingmethod and
Two group Method.
2.2.1 Tilingmethod
Page 8 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
Figure 4 : Tilingmethod
For the two-group method, a cell is simultaneously a base cell in one group and a
deleted neighbourhood cell in the other group, and vice versa. With this duality property, cells
are divided into two groups, group-1 and group-2, in a checkerboard pattern; depicted in
Figure 5. Base cells of group-1 are deleted neighbourhood cells of group-2, and vice versa.
Each group has n/2 base cells b and n/2 deleted neighbourhood cells formed by 4 subgroups
A, B, C and D. This only works for Type-1 neighbourhoods.
The architecture of the testable RAM isshown in figure 6. The control signals c1 and
c2 are used to select the mode of operation of the RAM as follows
C1 C2 Mode of operation
0 0 normal
0 1 BIST
Page 9 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
1 x Scan
The function of the data generatoris to generate certain data words and their
compliments inorder to detect the possible couplingfaultsbetween cella at the
sameaddress.The data produced by the SRAM during the READ operation are accepted by
the data receptor(parallel signature analyzer), and compressed to generate a unique signature.
Once the signature has been generated,the signature generatoris set in a hold mode, and the
signature isseriallyshiftedout.Itisthencomparedwith the reference signature calculated by
using a dedicated software tool.The signature generatureconsists of a minimum of
eightmemoryelements to ensure a satisfactoryfaultcoverage.The test
logiccanbefullytestedusing the builtin scan capability.
Page 10 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
Instead, their inputs and outputs have to be accessed through the logic in which the
memories are embedded. Many of the RAM test algorithms involve applying test vectors in a
particular sequence, and it would be difficult to apply the test vectors in the correct sequence
through the embedding logic, let alone generate all of the required test vectors.
Sample Questions
Page 11 of 12
SEC5203 TESTING OF VLSI CIRCUITS UNIT –V TESTABLE MEMORY DESIGN
PREPARED BY : G.I.SHAMINI
Page 12 of 12