BEC602 Module 4 Notes
BEC602 Module 4 Notes
1 Introduction
In earlier discussions, we introduced CMOS logic under the assumption that MOS
transistors behave as ideal switches.
However, real MOS transistors exhibit certain limitations that deviate from this idealized
behavior.
So far, we have primarily focused on fully complementary CMOS logic structures and the
ratioed CMOS inverter.
1. Circuit (Structural) Design– This involves selecting the appropriate logic configuration
and transistor arrangements.
2. Layout (Physical) Design – This deals with the physical placement and
interconnections of transistors on a chip.
The behavior of circuits at a lower level can influence high-level architectural decisions.
1
VLSI Design and Testing 3 CMOS Complementary Logic
The area required for implementation might be excessive, the speed may be too slow,
or the function may not be directly realizable using a purely complementary structure—
such as in the case of large Programmable Logic Arrays (PLAs).
In such cases, alternative CMOS logic structures can be employed to design smaller and
faster gates.
However, these improvements often come at the cost of increased design complexity,
greater operational challenges, and potential reductions in circuit stability.
Area Constraints: Fully complementary CMOS gates can occupy a large silicon area,
which is undesirable in high-density designs.
Speed Limitations: The propagation delay of traditional CMOS logic may be too high
for certain high-performance applications.
Design Feasibility: Some logic functions, such as those required in large PLAs, may not
be efficiently implemented using complementary CMOS alone.
To address these issues, alternative logic styles are explored, each with its own trade-offs in
terms of power consumption, speed, and complexity.
Optimization: Although basic functionality is achieved with uniform transistor sizing, speed
optimization techniques involving different transistor sizes will be introduced later.
Complex Logic Implementation: More complex gates can also be implemented using
CMOS logic.
Z=(A·B)+C·(D+E)
is used as a basis for comparison between various logic families.
2
VLSI Design and Testing (BEC602) 4 Pseudo -nMOSLogic
Body Effect: Affects the threshold voltage of transistors, influencing circuit performance.
Power Integrity: Proper substrate biasing ensures reliable operation across varying
process conditions.
This understanding of complementary CMOS logic forms the foundation for further
discussions on optimizing logic circuits for speed and efficiency.
4 Pseudo-nMOS Logic
A typical pseudo-nMOS gate is illustrated in figure below.
In this configuration, a single pMOS transistor acts as the load device, with its gate
permanently connected to ground (VSS).
This design is similar to conventional nMOS logic, where the depletion or enhancement-mode
nMOS load transistor is replaced with a pMOS device.
3
VLSI Design and Testing (BEC602) 4 Pseudo -nMOSLogic
One of the main drawbacks of pseudo-nMOS logic, as with conventional nMOS logic, is static
power dissipation. Since the pMOS load is always on, current continuously flows whenever
the pull-down network is active.
4
VLSI Design and Testing 5 Dynamic CMOS Logic
In summary, pseudo-nMOS logic provides a method for implementing logic gates with fewer
transistors, but at the cost of static power dissipation and slower rise times in some cases.
Unlike static CMOS logic, which maintains a stable output using both pull-up and pull-down
networks, dynamic CMOS logic relies on clocked operation and charge storage principles.
It consists of:
A pMOS precharge transistor,which charges the output toVDD during the precharge phase.
5
VLSI Design and Testing 5 Dynamic CMOS Logic
An nMOS evaluation transistor, which selectively discharges the output during evaluation.
A clock signal (ϕ), controlling the switching between pre charge and evaluation phases.
Operation Phases
The dynamic CMOS gate operates in two main phases, controlled by the clock signal ϕ:
The pMOS precharge transistor turns ON, charging the output node to VDD.
6
VLSI Design and Testing 5 Dynamic CMOS Logic
7
VLSI Design and Testing 5 Dynamic CMOS Logic
Phase ϕ1(Pre charge of PZ): During this phase, node PZ is pre charged to VDD,
while node Z retains its previous value.
Phase ϕ2 (Pre charge of Z): The pre charge of node PZ is maintained, and a
transmission gate turns on, allowing node Z to also pre charge.
Phase ϕ3 (Evaluation): The gate evaluates, and if the pull-down network is activated,
node PZ discharges conditionally.
Phase ϕ4 (Hold Phase): Node Z is held in its evaluated state, ensuring that it does
not change prematurely.
Advantages
Reduces charge-sharing issues by ensuring proper storage of values before evaluation.
Enables cascading of multiple logic stages without the risk of premature discharge.
Ensures that evaluated values remain stable during computation.
Limitations
Requires four separate clock signals, increasing circuit complexity.
Additional clocking transistors increase power consumption.
Strict timing requirements must be met for reliable operation.
Figure6:2-Phase Logic
8
VLSI Design and Testing 5 Dynamic CMOS Logic
Phase ϕB: Other gates evaluate, while the outputs of the previous phase are held constant.
Advantages
Reduces the number of required clock signals from four to two.
Simpler circuit design and reduced power consumption compared to four-phase logic.
Limitations
More susceptible to charge leakage compared to four-phase logic.
Requires careful synchronization to prevent timing mismatches.
9
VLSI Design and Testing(BEC602) 6 Clocked CMOS Logic (CMOS)
10
VLSI Design and Testing(BEC602) 6 Clocked CMOS Logic (CMOS)
During operation:
When ϕ=0, the circuit holds its previous state.
When ϕ=1, normal evaluation occurs.
Latching Capability: CMOS logic inherently functions as a latch, holding data when the
clock is low.
Compatibility with Dynamic Logic: It effectively interfaces with other dynamic logic
families, improving timing synchronization.
Higher Input Capacitance: Although similar to static CMOS gates, the presence of
clocking elements increases parasitic capacitance.
Applications
CMOS logic is widely used in:
11
VLSI Design and Testing (BEC602) 7 Cascade Voltage Switch Logic (CVSL)
Unlike conventional static CMOS logic, CVSL relies on two complementary nMOS
switching networks, combined with cross-coupled pMOS transistors for positive
feedback.
Two complementary nMOS logic trees that implement the desired logic function.
Cross-coupled pMOS pull-up transistors that ensure positive feedback and bistable
operation.
1. Differential Signaling: The logic trees receive both the input and its complement, ensuring
robust operation.
2. Pull-Up Mechanism: The cross-coupled pMOS transistors ensure that one output node is
strongly pulled high while the other remain slow.
3. Switching Mechanism: When the inputs change, one of the nMOS logic trees will conduct,
forcing one node to be pulled low while the other remains high, resulting in a strong logic
transition.
12
VLSI Design and Testing (BEC602) 8 Pass Transistor Logic
Advantages of CVSL
Strong Signal Integrity: Positive feedback ensures sharp transitions and improved noise
immunity.
Logical Completeness: CVSL can implement any logic function efficiently, making it
suitable for automated logic synthesis.
Lower Power Consumption: Unlike domino logic, CVSL gates do not require pre charge
and evaluate cycles, reducing dynamic power dissipation.
Limitations of CVSL
Increased Complexity: CVSL requires both true and complement signals, increasing the
number of inter connections.
Larger Area Requirement: Additional routing and double-rail logic consume more chip area.
Slower Switching Speed: During transitions, the pMOS pull-ups must counter act the
nMOS pull-down networks, leading to delays compared to conventional static CMOS gates.
Applications
High-speed arithmetic and logic units (ALUs) in microprocessors.
A notable implementation of PTL is found in the ALU function unit of the OM-1
computer.
13
VLSI Design and Testing (BEC602) 8 Pass Transistor Logic
Advantages:
Provides the fastest fall time due to strong nMOS pull-down.
Disadvantages:
Suffers from threshold voltage loss (Vth drop), leading to degraded high-level signals.
CMOS PTL uses both nMOS and pMOS transistors, ensuring full voltage swing.
This implementation provides strong pull-up and pull-down characteristics.
14
VLSI Design and Testing (BEC602) 8 Pass Transistor Logic
Figure above shows a dynamic version of PTL, which requires a pre charge phase before
operation.
Performance comparison:
o Comparable speed to nMOS PTL.
o Requires a pre charge period, which may extend clock cycle times.
15
VLSI Design and Testing (BEC602) 8 Pass Transistor Logic
To ensure correct operation, the p-transistor pull-up and n-transistor pull-down must
be properly ratioed.
1. A model as shown in figure below, where control variables steer a pass transistor network.
2. The pass function, which determines how input variables propagate through the network.
Figure13:PTL model
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
16
VLSI Design and Testing (BEC602) 8 Pass Transistor Logic
– When A=0;Y=B.
– When A=1;Y= B
The PTL implementation of XOR gate is shown in figure below.
The output voltage may not reach the full supply level due to threshold voltage loss in
nMOS PTL.
Complementary pass networks (nMOS+pMOS) help mitigate this but introduce
additional delay.
The merging of source and drain regions makes PTL design complex, leading to
Higher internal capacitances.
Both true and complemented versions of control variables are needed, increasing
circuit complexity.
17
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
Static PTL with Feedback Buffers: Ensures full voltage swing and eliminates DC power
dissipation.
Complementary Pass Networks (CVSL): Can be integrated with CVSL logic for
improved performance.
Finally, any PTL design should be evaluated through simulation and layout analysis
to determine its effectiveness for a given application.
18
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
o The fact that direct n-diffusion to p-diffusion connections are not possible in bulk
CMOS.
o The inverter’s drains are connected using a metal wire and two contacts.
o Power (VDD) and ground (VSS) connections use metal for low resistance.
An alternative layout is shown in figure below where the transistors are aligned horizontally.
20
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
Performance Considerations
where Rcontact is the resistance of a metal-polysilicon contact, and Rpoly is the resistance
of the polysilicon wire.
Using diffusion for power and ground connections adds series resistance and
capacitance.
To ensure good performance, the resistance should be atleast an order of magnitude lower
than the transistor’s “on” resistance.
Using Additional Metal Layers The introduction of a second metal layer enhances layout
flexibility:
The second metal layer can be used for VDD and VSS supply lines.
Alternatively, it can be used to strap polysilicon to reduce resistance and improve signal
propagation.
21
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
Layouts remain largely unchanged except for the addition of metal-2 wires and metal-1
connection stubs.
22
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
23
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
NAND Gate
The design principles used for the CMOS inverter layout can be extended to
implement NAND and NOR gates.
Figure below represents the direct translation of schematic into layout of a 2-input
NAND gate.
By orienting the transistors horizontally, we obtain the layout shown in figure below,
which is cleaner and more compact.
24
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
Design Style
For multiple-input static gates, the following layout style is adopted:
o In cases where deviations from this style occur, specific design reasons will be provided.
o The NAND gate could be rotated by 90◦ to have vertical metal and horizontal
polysilicon connections.
NOR Gate
NOR Gate Layout
Symbolic Layout A 2-input NOR gate follows the opposite arrangement of the NAND
gate, where:
25
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
o Faster gate operation, since the reduced capacitance improves switching speed.
The same optimization can be applied to the NAND gate, improving its speed.
26
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
Body Effect
The body effect refers to the modification of the threshold voltage (Vt) due to a
voltage difference between the source and substrate. Specifically, the threshold voltage
variation can be expressed as:
where:
27
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
When transistor D is switched OFF, the internal node capacitance C1 gets charged, leading to
a non zero Vsb.
If all inputs are then driven HIGH (VgsA=VgsB=VgsC=VDD), the source of transistor D will beat
VDD− Vt.
The fall time of the gate output will be slower than expected due to this internal charge
buildup.
o Consider the relative impact of body effect in nMOS and pMOS transistors.
o If nMOS body effect is worse, using NOR structures instead of NAND may be preferable.
Optimization Techniques
Since body effect is a dynamic issue related to parasitic capacitances, two optimization
techniques can be applied:
28
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
The p-graph and n-graph are dual to each other, as the pMOS pull-up network is the
complement of the nMOS pull-down network.
29
VLSI Design and Testing(BEC602) 9 Electrical and Physical Design of Logic Gates
An Euler path example and the corresponding layout generation is shown in figure below.
10 Input-output (I/0)structures
CMOS I/O structures are critical in VLSI due to their sensitivity to both circuit design and
process-specific characteristics.
In practice, system designers should use well-characterized library cells instead of designing
pads from scratch.
31
VLSI Design and Testing 10 Input-output (I/0) structures
These notes provide foundational insights into the structure and layout of I/O pads.
Connection points and VDD/VSS rails are placed consistently for uniformity.
Wider power/ground buses are used based on worst-case power estimates; multiple pads may
be employed to reduce noise.
32
VLSI Design and Testing 10 Input-output (I/0) structures
LEFT;
INPUTA
INPUTB
TOP;
VDDVD
D
INPUTC
RIGHT;
OUTPUTZ
OUTPUT
Y
BOTTOM;
OUTPUT
W
VSSVSS
Output Pads
Key Requirements
Sufficient drive strength to drive capacitive loads.
Adequate rise/fall times.
DC characteristics compliance when driving TTL or other logic levels.
Design Strategy
Use two-stage inverters with optimal sizing(2.7:1 or within 2–10range).
Include buffering to reduce internal loading.
Apply latch-up protection:
– Separate nMOS/pMOS regions
– Use guard rings tied to VDD/VSS
Input Pads
The design of input pads shares several principles without put pad design, particularly in
terms of transistor sizing.
In fact, transistors used in output pads can often be reused by simply reversing their function.
However, one critical issue must be addressed in input pad design: electrostatic
discharge (ESD) protection.
34
VLSI Design and Testing 10 Input-output (I/0) structures
Example: Let:
Such high voltages can easily exceed the oxide breakdown voltage (typically 40 - 100 V),
causing permanent damage.
To protect the gate from high-voltage transients, input pads include a resi stor and
diode clamps:
– Clamp Diodes (D1andD2):Turn on if the input voltage exceeds VDD or falls below
VSS.
– Series Resistor(R): Limits the peak current during voltage excursions. Typical values:
200Ω to 3kΩ.
Note: The resistor and the parasitic input capacitance form an RC time constant,
which can limit high-speed operation.
35
VLSI Design and Testing 10 Input-output (I/0) structures
– A punch-through device has closely spaced source and drain regions but no gate.
– It acts like an avalanche diode, turning on around 50V.
– This structure does not require additional well formation.
either by:
Ratioing the p-and n-MOS sizes in the inverter, or Using a reference voltage.
In some cases, the TTL output may use an external resistor to 5V to improve VOH. This
resistor can even be integrated into the pad using a p-MOS transistor.
Tri-state Pads
Based on tri-state inverter design.
Bi-directional Pads
Combine input pad+tri-state output buffer.
36
VLSI Design and Testing 10 Input-output (I/0) structures
Figure39:Bi-directional Pad
37