BEC602, Module 1, Introduction to CMOS Circuits
BEC602, Module 1, Introduction to CMOS Circuits
Although CMOS is widely used today, its origins date back nearly a century.
Early attempts to develop MOS transistors faced material-related challenges, leading to the
invention of the bipolar junction transistor (BJT), which became the dominant technology for
many years.
The MOS transistor gained renewed interest with the advent of the silicon planar process in
the early 1960s.
However, quality control and material challenges delayed its commercial adoption until around
1967.
Initially, only single-polarity MOS transistors (p-type or n-type) were commonly used.
CMOS, which utilizes both p-type and n-type transistors on the same substrate, was first
applied to ultra-low-power applications such as digital watches.
Due to the complexity of CMOS fabrication, it was initially less favored in general system
designs. However, as nMOS processing technology became more intricate, the relative
complexity of CMOS became less of a concern.
System designers faced increasing challenges with chip size and power consumption, making
CMOS an attractive alternative.
Today, CMOS has become the dominant technology for Very Large-Scale Integration (VLSI)
circuit design.
VLSI Design and Testing 2 MOS Transistors
2 MOS Transistors
A MOS (Metal-Oxide-Silicon) transistor is a fundamental semiconductor device used in
modern integrated circuits.
The key structural elements include diffusion regions, polysilicon layers, and metal
interconnections, all separated by insulating layers.
The doping of the silicon substrate determines the type of charge carriers:
Source (S): One of the two terminals where current enters or exits.
Gate (G): A conducting electrode (typically polysilicon) placed over a thin insulating layer
(oxide) that controls current flow.
Substrate (Body): The silicon region in which the device is fabricated, either p-type for
nMOS or n-type for pMOS.
For an nMOS transistor, the structure consists of a p-type substrate separating two n-type
diffusion regions. A pMOS transistor has an n-type substrate with two p-type diffusion
regions. In both cases, the gate electrode sits above the channel region, separated by an
insulating oxide layer.
VLSI Design and Testing 2 MOS Transistors
2.4 Conclusion
MOS transistors are the building blocks of digital and analog circuits. The combination of
nMOS and pMOS transistors in CMOS technology enables low-power, high-speed circuits
VLSI Design and Testing 2 MOS Transistors
used in
VLSI Design and Testing 3 MOS Transistor Switches
Passing Signals
Good for passing ‘0’ (LOW signal).
Imperfect for passing ‘1’ (HIGH signal is degraded due to threshold voltage drop
VDD − Vth).
5
VLSI Design and Testing 3 MOS Transistor Switches
Passing Signals
Good for passing ‘1’ (HIGH signal).
Imperfect for passing ‘0’ (LOW signal is degraded).
6
VLSI Design and Testing 4 CMOS Logic
Switch Type Gate Signal State Passes ‘0’ Well Passes ‘1’ Well
1 (VDD) ON Yes No (degraded ‘1’)
nMOS
0 (VSS) OFF No No
0 (VSS) ON No (degraded ’0’) Yes
pMOS
1 (VDD) OFF No No
Transmission Gate C = 1, C = 0 ON Yes Yes
3.5 Conclusion
MOS transistors serve as voltage-controlled switches in digital circuits:
nMOS transistors efficiently pass ‘0’ signals but degrade ‘1’ signals.
pMOS transistors efficiently pass ‘1’ signals but degrade ‘0’ signals.
Transmission gates (TG) provide optimal switching by combining nMOS and pMOS
transistors.
These principles are widely applied in CMOS logic circuits, multiplexers, and memory
circuits.
4 CMOS Logic
4.1 The Inverter
A CMOS inverter is a fundamental building block of digital circuits, implementing the logical
NOT function.
– When the input is ‘0‘, the output must be ‘1‘. This requires a P-SWITCH (PMOS
transistor) to connect the output to VDD.
7
VLSI Design and Testing 4 CMOS Logic
– When the input is ‘1‘, the output must be ‘0‘. This requires an N-SWITCH (NMOS
transistor) to connect the output to VSS.
– A PMOS transistor connected between the output and VDD (pull-up network).
– An NMOS transistor connected between the output and VSS (pull-down network).
When the input is ‘0‘, the PMOS transistor turns ON, pulling the output to VDD.
Simultaneously, the NMOS transistor remains OFF, ensuring no direct path between VDD and
VSS.
Conversely, when the input is ‘1‘, the NMOS transistor turns ON, pulling the output to VSS,
while the PMOS transistor remains OFF.
– A pull-down network (NMOS transistors) connects the output to VSS when required.
– A pull-up network (PMOS transistors) connects the output to VDD when required.
A Y
VDD
A Y
This design ensures low power dissipation, as there is no direct current path between VDD
and VSS during steady-state operation.
By arranging these transistors in series or parallel, different logical functions can be realized.
8
VLSI Design and Testing 4 CMOS Logic
Similarly, the corresponding structure for P-SWITCHES is shown in figure below. The
composite switch is ON only when both inputs are set to ‘0’.
4.2.2 OR Function
When two N-SWITCHES are placed in parallel, the composite switch is ON if either input is
set to ‘1’, implementing an OR function.
In contrast, when two P-SWITCHES are placed in parallel, the composite switch is OFF if
both inputs are set to ‘1’.
9
VLSI Design and Testing 4 CMOS Logic
10
VLSI Design and Testing 4 CMOS Logic
VDD
P1 P2
Y
A N1
B N2
A B N1 N2 P1 P2 Y
0 0 OFF OFF ON ON 1
0 1 OFF ON ON OFF 1
1 0 ON OFF OFF ON 1
1 1 ON ON OFF OFF 0
Y =A·B
A
Y
B
2. No Ratioing Required: - Unlike nMOS logic, where transistor sizes need careful ratioing,
CMOS gates do not require it.
3. No Static Power Dissipation: - There is never a direct path between VDD and GND for
any input combination, minimizing power consumption.
11
VLSI Design and Testing 4 CMOS Logic
4. Extending to Multi-Input NAND Gates: Larger NAND gates are constructed by:
Adding NMOS transistors in series in the pull-down network.
Adding PMOS transistors in parallel in the pull-up network.
VDD
A B C n
Y = A · B · C· ·n
4.3.3 Conclusion
The CMOS NAND gate is a fundamental building block in digital logic design.
It provides advantages such as low power dissipation, full voltage swing, and
scalability.
Understanding its construction is essential for designing efficient digital circuits.
12
VLSI Design and Testing 4 CMOS Logic
The pull-up network (PUN) follows De Morgan’s Theorem, forming a series p-channel
MOSFET (PMOS) AND structure that implements:
A+B =A·B
The PMOS network is the logical dual of the NMOS network, ensuring proper functionality.
VDD
A P1
B P2
Y
N1 N2
A B N1 N2 P1 P2 Y
0 0 OFF OFF ON ON 1
0 1 OFF ON ON OFF 0
1 0 ON OFF OFF ON 0
1 1 ON ON OFF OFF 0
Y =A+B
13
VLSI Design and Testing 4 CMOS Logic
A
B Y
2. No Ratioing Required: - Unlike nMOS logic, where transistor sizes need careful ratioing,
CMOS gates do not require it.
3. No Static Power Dissipation: - There is never a direct path between VDD and GND for
any input combination, minimizing power consumption.
4. Extending to Multi-Input NOR Gates: - Larger NOR gates are constructed by:
VDD
A
Y
A B C n
Y = A + B + C +·······+ n
14
VLSI Design and Testing 4 CMOS Logic
4.4.3 Conclusion
The CMOS NOR gate is a fundamental building block in digital logic design.
It provides advantages such as low power dissipation, full voltage swing, and
scalability.
Understanding its construction is essential for designing efficient digital circuits.
VDD
A B
C D
A C
B D
15
VLSI Design and Testing 4 CMOS Logic
VDD
A
B D
F
D
A B C
4.6 Multiplexers
Complementary switches may be used to select between a number of inputs, thus forming a
multiplexer function.
16
VLSI Design and Testing 4 CMOS Logic
As the switches have to pass ‘0’s and ‘1’s equally well, complementary switches with n- and
p-transistors are used.
S S A B OUTPUT
0 1 X 0 0(B)
0 1 X 1 1(B)
1 0 0 X 0(A)
1 0 1 X 1(A)
The complementary switch is also called a transmission gate or pass gate (complementary).
A commonly used circuit symbol for the transmission gate is shown in figure below.
17
VLSI Design and Testing 4 CMOS Logic
The multiplexer connection in terms of this symbol and transistor symbols is shown in figure
below.
4.7 Memory
Memory elements are essential components in digital circuits for storing and retaining data.
Using basic CMOS structures, we can construct a simple memory element such as a flip-flop
with minimal components.
This circuit operates based on a load signal (LD) to control data storage.
18
VLSI Design and Testing 4 CMOS Logic
4.7.2 Conclusion
This simple circuit demonstrates how memory elements can be built using fundamental CMOS
components.
Flip-flops like this serve as the foundation for registers, latches, and memory units in
digital systems.
19
VLSI Design and Testing 5 Alternate Circuit representations
F = ((A + B + C) · D)
This Boolean function specifies the logical operation without indicating how it is implemented
in hardware or its performance characteristics.
Here, no specific method of addition is implied, and the word length is assumed to be that of
the machine.
20
VLSI Design and Testing 5 Alternate Circuit representations
These descriptions provide even less information about implementation details but help define
how the system should function.
By using behavioral representations, designers can develop complex digital systems while
focusing on functionality before deciding on implementation details.
One example of a structural description language is MODEL, developed by Lattice Logic Ltd.
This language provides a formal way to define circuit components and their interconnections.
21
VLSI Design and Testing 5 Alternate Circuit representations
The first line defines a part named inv with input in and output out.
The Nfet transistor has its drain = out, gate = in, and source = vss.
The Pfet transistor has its drain = out, gate = in, and source = vdd.
Two Nfet transistors form a series connection, while two Pfet transistors are in parallel,
implementing a NAND function.
out =∼ (a&b)
vdd
a b
out
b
i1
vss
Figure 21: Graphical representation of structural description for a Two - input CMOS NAND gate
22
VLSI Design and Testing 5 Alternate Circuit representations
Transistor Sizing: size = 2 increases the size of Pfets, affecting speed and power.
Capacitance Values: Specified in arbitrary units to account for circuit delay effects.
A transmission gate consists of an Nfet and a Pfet, controlled by complementary signals (c and
cb).
23
VLSI Design and Testing 5 Alternate Circuit representations
The flip-flop (D latch) is implemented using transmission gates (tg) and inverters (inv).
Behavioral descriptions ensure correct logic implementation, but structural descriptions define
real circuit performance.
Emerging design tools integrate both approaches for flexibility and efficiency.
24
VLSI Design and Testing 5 Alternate Circuit representations
The size parameter n allows dynamic transistor scaling, useful for design automation.
5.2.6 Conclusion
Structural representation is essential in circuit design for detailed connectivity,
performance optimization, and hierarchical modeling.
By combining structural and behavioral descriptions, engineers can achieve both logical
correctness and physical efficiency in circuit design.
In an Integrated Circuit (IC) process, the lowest level of physical specification is the
photo-mask information, which is crucial for the various processing steps during
fabrication.
At this stage, we focus on a simplified model for the physical nature of a CMOS circuit.
These rectangles have precise dimensions defined by the design rules, which are based on the
specific process being used.
These rules often change for different processes, and the corresponding dimensions may not
change linearly.
Rather than focusing on these complex rules, we use a single symbol to represent a transistor
in a non-metric format, maintaining the essential physical nature of the transistor.
n-Transistor representation
The physical symbol for an n-transistor is shown in figure below.
In n-transistor, two process levels are overlaid: one for the gate connection and another for the
source and drain.
25
VLSI Design and Testing 5 Alternate Circuit representations
p-Transistor representation
Similarly, a p-transistor uses a similar symbol, as shown in figure below. The “horizontal”
transistor layout is used here, with the gate, source, and drain points similarly defined on the
grid.
26
VLSI Design and Testing 5 Alternate Circuit representations
It resembles the schematic layout but requires careful consideration of the layers in which
connections are made.
The interaction of these layers is summarized in table below:
– OK denotes that a connection is possible between two layers.
– X signifies that a direct connection is not allowed, requiring a “contact” (C) to connect
the two layers.
27
VLSI Design and Testing 5 Alternate Circuit representations
This layout combines multiple transmission gates and inverters, with appropriate connections
for Vss and Vdd supplies.
28
VLSI Design and Testing 6 CMOS-nMOS comparison
5.3.5 Conclusion
CMOS IC design involves several critical steps:
6 CMOS-nMOS comparison
29