combinational (1)
combinational (1)
The slides used in this lecture are taken for academic purpose only.
The resources are taken from:
1. CMOS VLSI Design: A Circuit and Systems Perspective, by Neil
Weste, David Money Harris, 4th ed., Addison Wesley, 2011
2. CMOS Digital Integrated Circuits: Analysis and Design, Sung-Mo
(Steve) Kang and Yusuf Leblebici, 2nd ed., McGraw Hill, 2003
Combinational CMOS Logic Circuits
Combinational vs. Sequential Logic
In Combinational Out
Combinational
In Logic Out Logic
circuit circuit
State
Combinational Sequential
The output is determined only by The output is determined by
• Current inputs • Current inputs
• Previous inputs
In1
In2 pMOS
Network Pull Up Network (PUN)
InN
f(In1,In2,…InN)
In1
In2 nMOS
Network Pull Down Network (PDN)
InN
A B
Y = X if A and B=AB
X Y
X B Y = X if AOR B=A+B
Y
A B
X
Y = X if A AND B = A+B
Y
A
X B
Y Y = X if A OR B = AB
VDD VDD
PUN
S D
VDD
D 0 → VDD VGS
S 0 → VDD - VTn
CL CL
S D
CMOS 2-Input NOR Gate
❖ The transistor level implementation for the NOR gate is:
CMOS 2-Input NOR Gate
❖ The only time the pull-up network drives the output is when we have two 0’s on
the inputs.
❖ Since the pull-up network uses PMOS transistors (0 = ON), we can say
that the pull-up network is conducting if VA AND VB are 0.
❖ The pull-down network drives the output continually unless VA AND VB are 0.
❖ Since the pull-down network uses NMOS transistors (1 = ON), we can say that
the pull-down network is conducting if VA OR VB are 1.
❖ More complex logic gate can be analysed by converting it into an equivalent inverter
Transistors in Series
❖ The current flowing in series transistors needs to go through two channels,
each with an equivalent resistance (or transconductance k)
❖ Transistors
in series with the same size can be modeled as an equivalent transistor
with keq=k/2
Transistors in Parallel
❖ The current flowing in parallel transistors can conduct twice the amount of
current compared to a a single transistor with the same gate voltage.
❖ let’s use representative voltages of VDD=5 V and Vth= 2.5 to illustrate the derivation
CMOS 2-Input NOR Gate
CMOS 2-Input NOR Gate
CMOS 2-Input NOR Gate
CMOS 2-Input NOR Gate
CMOS 2-Input NOR Gate
CMOS 2-Input NOR Gate
Now compare this expression with the switching threshold voltage of the CMOS inverter
CMOS 2-Input NOR Gate: Equivalent Inverter approach
❖ The switching threshold voltage of the NOR2 gate using the equivalent-
inverter approach. When both inputs are identical, the parallel-connected
nMOS transistors can be represented by a single nMOS transistor with 2kn.
and the series-connected pMOS transistors are represented by a single
pMOS transistor with kP/2.
CMOS 2-Input NOR Gate: Equivalent Inverter approach
B Output
B A
GND GND
CMOS N-Input NOR Gate
❖ The NMOS series network has to be sized larger in order to overcome the voltage drop
across each series stage.
CMOS N-Input NAND Gate
V V
DD DD
A B
Output
B
CMOS N-Input NAND Gate
❖ Our V th expression for an N-input NAND gate becomes:
❖ The complementary PMOS network is created with a technique called a dual pull-
up/down graph
❖ A graphical way to create the PMOS network for a given NMOS pull-down circuit.
- Next, create the dual pull-up graph on top of the pull-down graph.
- Orient the pull-up graph with VDD on the left and Vout on the right.
1) a new vertex is created within each confined area of the pull-down graph
2) each vertex is connected by an edge which crosses each edge of the pull-down
graph
Fig: Construction of the dual pull-up graph from the pull-down graph, using the dual graph concept.
Complex CMOS Logic Circuits
• Complex CMOS Logic Graphs
❖ We can now separate the graphs and synthesize the PMOS pull-up network
an edge (a line) = a transistor
Remember that:
a vertex (a dot) = a node
Complex CMOS Logic Circuits
❖ Above figure shows the simple construction of the dual p-net (pull-up) graph from
the n-net (pull-down) graph.
❖ Each driver transistor in the pull-down network is represented by an edge, and each
node is represented by a vertex in the pull-down graph.
❖ Next, a new vertex is created within each confined area in the pull-down graph, and
neighboring vertices are connected by edges which cross each edge in the pull-down
graph only once.
❖ This new graph represents the pull-up network. The resulting CMOS complex logic
gate is shown in Fig.
Layout of Complex CMOS Logic Gates
Stick-diagram layout of the complex CMOS logic gate, with an arbitrary ordering of the polysilicon gate columns.
Layout of Complex CMOS Logic Gates
Euler Path
❖ A simple method for finding the optimum gate ordering is the Euler-
path approach:
❖ find a Euler path in the pull-down graph and a Euler path in the
pull-up graph with identical ordering of input labels, i.e., find a
common Euler path for both graphs. The Euler path is defined as
an uninterrupted path that traverses each edge (branch) of the
graph exactly once.
Euler Path
Figure: Finding a common Euler path in both graphs for n-net and p-net provides a gate
ordering that minimizes the number of diffusion breaks and, thus, minimizes the logic- gate
layout area. In both cases, the Euler path starts at (x) and ends at (y).
Euler Path
Euler Path
AOI AND-OR-INVERT
OAI -OR-AND-INVERT
F = (A + B)(B'+C)(C'+D)
❖ We have the Invert portion in these forms so that we can directly synthesize the
NMOS pull-down network.
Complex CMOS Logic Circuits
AOI / OAI CMOS Logic
AOI
Complex CMOS Logic Circuits
OAI
CMOS Full-Adder Circuit
CMOS Full-Adder Circuit
Example
Example
The Boolean function realized by this circuit is
The equivalent (WIL) ratios of the nMOS network and the pMOS network are
determined by using the series-parallel equivalency rules:
Complex CMOS Logic Circuits
❖ Transmission Gate (Pass Gate)
❖ A Transmission Gate (T-gate or TG or pass gate) is a bi-directional switch made up
of an NMOS and PMOS is parallel.
❖ a control signal is connected to the gate of the NMOS (C) and its complement is
sent to the gate of the PMOS (C’)
❖ The T-gate is a bidirectional switch between A and B which is controlled by C
Complex CMOS Logic Circuits
❖ Transmission Gate (Pass Gate)
❖ This type of operation is commonly used in bus situations where only one gate can
drive the bus line at the same time
❖ T-gates are put on the output of each gate on the bus. The circuit that drives will use a T-
gate to connect to the bus with a low impedance path. All other circuits that aren’t driving
will switch their T-gates to be a high-impedance.
Complex CMOS Logic Circuits
❖ When the T-gate is on, the regions of operation of the transistors will depend
on Vin and Vout
❖ As Vout moves from 0V to VDD, the regions of operation for the transistors
are as follows:
Bias conditions and operating regions of the CMOS transmission gate as function of the output voltage
Transmission Gate (Pass Gate)
Transmission Gate (Pass Gate)
Total current flowing through the transmission gate is the sum of the NMOS drain current
and the PMOS drain current.
Transmission Gate (Pass Gate)
Region 1:
Transmission Gate (Pass Gate)
Region 2:
Transmission Gate (Pass Gate)
Region 3:
Transmission Gate (Pass Gate)
Equivalent resistance of the CMOS transmission gate plotted as a function of the output voltage
Transmission Gate (Pass Gate)