VLSI Unit 3 by MK
VLSI Unit 3 by MK
Unit -III
• Dynamic Logic Circuits
• Testing and Verification
Reference Book
Sung Mo Kang, Yosuf Leblebici, “CMOS Digital Integrated Circuits:
Analysis and Design”, Third Edition, Tata McGraw-Hill, 2003.
1
05-12-2023
2
05-12-2023
Dynamic D-latch
• Dynamic D-latch circuit shown , consists of
two cascaded inverters and one nMOS pass
transistor driving the input of the primary
inverter stage.
• The parasitic input capacitance Cx of the
primary inverter stage plays an important
role in the dynamic operation of this
circuit.
• The input pass transistor is being driven by
the external periodic clock signal.
The "hold" operation during the inactive clock cycle is accomplished by temporary storage
of charge in the parasitic capacitance CX. Correct operation of the circuit critically depends
on how long a sufficient amount of charge can be retained at node X, before the output
state changes due to charge leakage. The capacitive intermediate node X is also called a
soft node.
3
05-12-2023
Static CMOS gates are used for implementing the logic blocks, and CMOS
transmission gates are used for transferring the output levels of one stage to the
inputs of the next stage.
4
05-12-2023
Figure shows a single-phase CMOS shift register, which is built by cascading identical
units and by driving each stage alternately with the clock signal and its complement.
The transmission gates of the odd-numbered stages would conduct during the active
clock phase (when CK = 1), while the transmission gates of the even-numbered stages
are off, so that the cascaded inverter stages in the chain are alternately isolated.
10
5
05-12-2023
11
6
05-12-2023
1
05-12-2023
2
05-12-2023
• When the evaluation phase begins, both output voltages Vout1 and
Vout2 are at logic-high.
• The output of the first stage (Vout1) eventually drops to its correct logic
level after a certain time delay. However, since the evaluation in the
second stage is done concurrently, starting with the high value of Vout1
at the beginning of the evaluation phase, the output voltage Vout2 at
the end of the evaluation phase will be erroneously low. Although the
first stage output subsequently assumes its correct output value once
the stored charge is drained, the correction of the second-stage output
is not possible.
• Hence dynamic CMOS logic stages driven by the same clock signal
cannot be cascaded directly. Alternative clocking schemes and circuit
structures must be developed to overcome this problem.
3
08-12-2023
1
08-12-2023
2
08-12-2023
3
08-12-2023
4
18-12-2023
UNIT III
• Dynamic Logic Circuts
• Testing and Verification
• For many chips, testing accounts for more effort than does design!!
1
18-12-2023
Categories of Testing
• Functionality tests or logic verification: These tests verifies that the chip performs its intended
function. These tests are run before tape-out to verify the functionality of the circuit.
• Silicon (Chip)Debug: These tests are run in a lab environment on the first batch of chips that
return from fabrication. These tests confirm that the chip operates as it was intended and help
debug any discrepancies. They can be much more extensive than the logic verification tests
because the chip can be tested at full speed in a system.
• For example, a new microprocessor can be placed in a prototype motherboard to try to boot the operating
system.
• This silicon debug requires creative detective work to locate the cause of failures because the
designer has much less visibility into the fabricated chip compared to during design verification.
• Manufacturing Tests: Whereas functionality tests or logic verification seek to confirm the
function of a chip as a whole, manufacturing tests are used to verify that every gate operates as
expected. The need to do this arises from a number of manufacturing defects that might occur
during either chip fabrication or accelerated life testing (where the chip is stressed by over-
voltage and over-temperature operation).
• Wafer level
• Packaged chip level
• Board level
• System level
• Field level
2
18-12-2023
Importance of testing
• Defects are unavoidable
• Murphy's law:- “whatever can go wrong, will go wrong”.
• Testing is required to guarantee fault-free chips.
• Product quality depends on:
• Test cost
• Test quality
• Test time
3
18-12-2023
Wafer yield
• The Wafer yield is defined as the ratio of number of good
ICs (die) divided by the total number of ICs per wafer. not all die on a
wafer function correctly.
• Because of the complexity of the manufacturing process and
manufacturing defects, Integrated circuits have a yield of less than
100%.
• Dust particles and small imperfections in starting material or photo-masking
can result in unintended connections or missing features, termed as faults.
• Typical commercial products target a defect rate of 350–1000 Defects Per
Million (DPM) chips shipped.
4
18-12-2023
5
18-12-2023
Fault Models
• Fault model: It is a model to mimic manufacturing defects (faults) in
an IC and it can be used to predict the consequences of the defect
on the output. The most popular model is called the “Stuck-At
fault” model.
• “Stuck-At faults” occur when a line is permanently stuck to Vdd or
ground giving a faulty output, independent of the inputs to the
circuit. This line may be an input or output to any gate.
• When a signal, or gate output, is stuck at a 0 or 1 value, the signal is
said to be “Stuck- at-0 fault” or “Stuck- at-1 fault” and the fault model
used to describe this type of error is called a “stuck- at- fault model”.
11
Stuck-At faults
• Stuck-At-1 (SA1) fault
• Stuck-At-0 (SA0) Fault
12
6
18-12-2023
Stuck-at 0 Example
13
7
18-12-2023
Why DFT?
• To increase Productivity:
• Shorter time-to-market
• Reduced cost of manufacturing test
• To improve Quality:
• Reduced Defects per Million (DPM)
8
18-12-2023
DFT Metrics
• Observability
• Controllability
• Repeatability
• Survivability
17
Observability
• The observability of a particular circuit node is the degree to which
test engineer can observe that node at the outputs of an integrated
circuit (i.e., the pins).
• This metric is relevant when one want to measure the output of a
gate within a larger circuit to check that it operates correctly.
• Given the limited number of nodes that can be directly observed, it is
the aim of good chip designers to have easily observed gate outputs.
• Adoption of some basic design for test techniques can aid
tremendously in this respect. Ideally, one should be able to observe
directly or with moderate indirection (i.e., you may have to wait a few
cycles) every gate output within an integrated circuit.
18
9
18-12-2023
Controllability
• The controllability of an internal circuit node within a chip is a
measure of the ease of setting the node to a 1 or 0 state.
• This metric is of importance when assessing the degree of
difficulty of testing a particular signal within a circuit.
• An easily controllable node would be directly settable via an
input pad.
• Often, it is impossible to generate a test sequence to set a
number of poorly controllable nodes into the right state.
• It should be the aim of good chip designers to make all nodes
easily controllable.
• The adoption of some simple design for test techniques can aid
the controllability
• Making all flip-flops resettable via a global reset signal
Repeatability
• The repeatability of system is the ability to produce the same
outputs given the same inputs.
• Combinational logic and synchronous sequential logic is
always repeatable when it is functioning correctly.
• However, certain asynchronous sequential circuits are
nondeterministic.
• E.g. An arbiter may select either input when both arrive at
nearly the same time.
• Testing is much easier when the system is repeatable.
10
18-12-2023
Survivability
• The survivability of a system is the ability to continue
function after a fault.
• E.g. Error-correcting codes provide survivability in the event
of soft errors (error caused by external source ,not due to
manufacturing defects/circuit bugs).
• Redundant rows and columns in memories and spare cores
provide survivability in the event of manufacturing defects.
• Adaptive techniques provide survivability in the event of
process variation.
• Ad-hoc Testing
• Built-in Self Test (BIST)
• Scan-based approaches
11
18-12-2023
Ad-hoc Testing
• As the name implies Ad-hoc Technique is a temporary
Technique.
• It is a strategy to enhance the design testability without
making much change to design style.
• In Ad-hoc testing, good design practices learnt through
experience over the years are used as guidelines avoiding the
overhead of a systematic approach to testing.
• The following are common techniques for Ad hoc testing:
• Partitioning large sequential circuits
• Adding test points
• Adding multiplexers
• Providing for easy state reset
• Ad-hoc approach is still quite valid, but process densities and
chip complexities necessitate a structured approach to testing.
12
18-12-2023
BIST Architecture
BIST Procedure
BIST procedure:
• Generate a test pattern
• Most BIST technique use Pseudo-Random Sequence
Generator (PRSG)
• Apply the pattern to “Circuit Under Test” (CUT)
• Check the response
• Repeat for each test pattern
• Most BIST technique compress responses into a
single “signature”
• Output Response Analyser (ORA) gives the test
result as Pass/Fail
13
18-12-2023
14