Vlsi Unit5
Vlsi Unit5
SEMICONDUCTOR MEMORIES ,
VERIFICATION & TESTING
[ UNIT 5 ]
CLASSIFICATION OF MEMORIES
1
07-06-2022
2
07-06-2022
3
07-06-2022
• SENSE AMPLIFIER:
• A Sense amplifier is used to read the
data stored inside the SRAM cell.
• It is an op-amp comparator circuit.
• It compares the difference between
BL and BL_bar.
• If BL > BL_bar, output is 1
• If BL < BL_bar, output is 0
• Advantage: It sets the output quickly
without fully charging/discharging.
4
07-06-2022
DRAM MEMORY
• A 1-bit DRAM cell realized using one
transistor and one capacitor is shown
in fig.
• Smaller cell size, therefore smaller and
cheaper.
• It is called 1T-1C DRAM cell
• The logic value (data) is stored as
charge on the capacitor Cs.
• The capacitor charge leaks with time,
hence it has to be refreshed.
• Volatile: It loses data when powered
OFF.
• Charge storage, Q = C Vdd
DRAM OPERATION
10
5
07-06-2022
DRAM OPERATION
• REFRESH OPERATION:
• The process of reading the information of memory and immediately
re-writing the same without modifications is called refresh operation.
• External circuitry periodically refreshes memory cycles, automatically in the
background.
• The refresh cycles are generated by separate counter circuits in the memory.
• The refresh rate is generally in the order of milliseconds.
11
12
6
07-06-2022
1.
13
LAYOUT
14
7
07-06-2022
2.
15
LAYOUT
16
8
07-06-2022
17
18
9
07-06-2022
19
20
10
07-06-2022
21
EPROM
UV PROM CHIP
EPROM ERASER
22
11
07-06-2022
23
24
12
07-06-2022
25
Logic Verification
26
13
07-06-2022
Note: With VLSI, this may be a network with N=25 and M=50 or 275 patterns, which is approximately
3.8 x1022.
Assuming one had the patterns and applied them at an application rate of 1us per pattern, the
test time would be over a billion years (109)
27
Test Vectors
• Test vectors are a set of patterns applied to inputs and a set of expected outputs.
• Both logic verification and manufacturing test require a good set of test vectors.
• Directed and random vectors are the most common types. (see figure)
• DIRECTED VECTORS are selected by an engineer who is knowledgeable about the system.
• Their purpose is to cover the corner cases where the system might be most likely to malfunction.
• For example, in a 32-bit datapath, likely corner cases include
the following:
Test
Vectors
Directed Random
28
14
07-06-2022
Test Vectors
• Directed vectors are an efficient way to catch the most Test
obvious design errors. Vectors
• A good logic designer will always run a set of directed
Directed Random
tests on a new piece of RTL to ensure a minimum level
of quality.
RANDOM TEST VECTORS:
• Applying a large number of random or semirandom vectors is a surprisingly good way to detect
more subtle errors.
• The effectiveness of the set of vectors is measured by the fault coverage.
• Automatic test pattern generation tools are good at producing high fault coverage for
manufacturing test.
29
30
15
07-06-2022
FAULT MODELS
• To deal with the existence of good and bad parts,
it is necessary to propose a fault model;
• Fault model represent how faults occur and their
impact on circuits.
• The most popular model is called the Stuck-At
model.
• The Short Circuit/Open Circuit model can be a
closer fit to reality, but is harder to incorporate
into logic simulation tools.
STUCK-AT MODEL:
• In the Stuck-At model, a faulty gate input is
modelled as a stuck at zero (Stuck-At-0, SA0) or
stuck at one (Stuck-At-1, SA1).
31
FAULT MODELS
• To deal with the existence of good and bad parts, it is
necessary to propose a fault model;
• Fault model represent how faults occur and their
impact on circuits.
• The most popular model is called the Stuck-At model.
• The Short Circuit/Open Circuit model can be a closer
fit to reality, but is harder to incorporate into logic
simulation tools.
STUCK-AT MODEL:
• In the Stuck-At model, a faulty gate input is modelled
as a stuck at zero (Stuck-At-0, SA0) or stuck at one
(Stuck-At-1, SA1).
• Figure illustrates how an S-A-0 or S-A-1 fault might
occur.
• These faults most frequently occur due to:
(i) gate oxide shorts (the nMOS gate to GND or the
pMOS gate to VDD) or (ii) metal-to-metal shorts.
32
16
07-06-2022
FAULT MODELS
SHORT-CIRCUIT AND OPEN-CIRCUIT FAULTS:
• Other models include stuck-open or shorted models.
• Two bridging or shorted faults are shown in Figure.
• The short S1 results in an SA0 fault at input A, while short S2
modifies the function of the gate.
• Faults should be modelled at the transistor level because it is only at
this level that the complete circuit structure is known.
• This implies that test generation should ideally
take account of possible shorts and open circuits
at the switch level.
33
FAULT MODELS
A Combinational circuit being converted to a Sequential
Circuit due to a fault.
• A particular problem that arises with CMOS is
that it is possible for a fault to convert a
combinational circuit into a sequential circuit.
• This is illustrated in Figure for the case of a
2-input NOR gate in which one of the transistors
is rendered ineffective.
• If nMOS transistor A is stuck open, then the
function displayed by the gate will be:
34
17
07-06-2022
35
36
18
07-06-2022
37
38
19
07-06-2022
FAULT COVERAGE
• A measure of goodness of a set of test vectors is the amount of fault coverage it achieves.
• That is, for the vectors applied, what percentage of the chip’s internal nodes were
checked?
• Conceptually, the way in which the fault coverage is calculated is as follows:
“ Each circuit node is taken in sequence and held to 0 (S-A-0), and the circuit is simulated
with the test vectors comparing the chip outputs with a known good machine––a circuit with
no nodes artificially set to 0 (or 1).
When a discrepancy is detected between the faulty machine and the good machine,
the fault is marked as detected and the simulation is stopped. This is repeated for setting the
node to 1 (S-A-1). In turn, every node is stuck (artificially) at 1 and 0 sequentially”
• The fault coverage of a set of test vectors is the percentage of the total nodes that can be
detected as faulty when the vectors are applied.
• To achieve world-class quality levels, circuits are required to have in excess of 98.5% fault
coverage.
39
40
20
07-06-2022
41
42
21
07-06-2022
43
22