Vlsi Notes CH3
Vlsi Notes CH3
EC DEPARTMENT
6th SEM
Subject : VLSI Subject Code :- 3361104
Lecture Notes for CH-3
COMBINATIONAL LOGIC MOS CIRCUITS
Combinational logic circuits or gates, which perform Boolean operations on multiple input variables and
determine the outputs as Boolean functions of the inputs, are the basic building blocks of all digital systems
Node voltages, referenced to the ground potential, represent all input variables.
Using positive logic convention, the Boolean (or logic) value of "1" can be represented by a high voltage of VDD,
and the Boolean (or logic) value of "0" can be represented by a low voltage of 0.
The output node is loaded with a capacitance CL, which represents the combined capacitances of the parasitic
device in the circuit.
Following figure shows logic symbol and truth table of NAND Gate.
The Boolean AND operation is performed by the series connection of the two enhancement type nMOS driver
transistors
Here, as a load, the depletion-type nMOS transistor is used.
There is a conducting path between the output node and the ground only if the input voltage VA and the input
voltage VB are at high logic level.
So when both VA and VB are high, the series-connected both driver transistors are turned on and hence the
output voltage will be low.
Consider the NAND2 gate with both of its inputs equal to VOH. In this case, the drain currents of all transistors
in the circuits are equal to each other.
Neglecting the substrate bias effect and assuming that the threshold voltages of all transistors are equal to V TO
the driver current ID in the linear region and in Saturation region is as below.
Hence when all inputs are at logic- high level, the series structure consisting of n driver transistors has an
equivalent (W/L) ratio of (W/L) driver .
[ (W/L) ratio of all NAND driver transistor is (W/L)1=(W/L)2 = …….n (W/L) driver.].
So for a two-input NAND Gate, each driver transistor must have a (W/L) ratio twice that of the equivalent
inverter driver.
If the area occupied by the depletion-type load transistor is negligible, the resulting NAND2 structure will
occupy approximately four time the area occupied by the equivalent inverter.
The circuit diagram, the logic symbol and the corresponding truth table of the NOR gate is as given below.
Note that the substrate bias of all the transistors are connected to ground.
Following Figure shows generalized n-input NOR gate, which consist of N parallel -connected driver transistor.
The combined current ID in this circuit is supplied by the driver transistors which are turned on, i.e., transistors
which have gate voltages higher than the threshold voltage VTO.
Assuming that the input voltages of all driver transistor are identical
VGS,k = VGS for k = 1,2,3,……,n
The multiple-input NOR gate can also be reduced to an equivalent inverter as shown in following
Figure. The (W/L) ratio of the driver transistor is
Note that the source terminal of all enhancement-type nMOS driver transistors in the NOR gate are
connected to ground. Thus the drivers do not experience any substrate-bias effect.
The depletion-type nMOS load transistor, however, is subject to substrate-bias effect, since its source is
connected the the output node, and its source-to-substrate voltage is VSB = Vout.
-----------------------------------------------------------------------------------------------------------------------------------------------
For the design of any circuit with the CMOS technology; We need parallel or series connections of nMOS and pMOS
with a nMOS source tied directly or indirectly to ground and a pMOS source tied directly or indirectly to Vdd. A basic
CMOS structure of any 2-input logic gate can be drawn as follows:
--------------------------------------------------------------------------------------------------------------------------------------
Now let’s understand how this circuit will behave like a NAND gate. The circuit output should follow the same
pattern as in the truth table for different input combinations.
1. CASE 1 : VA =0 AND VB =0
As VA and VB both are low, both the pMOS will be ON and both the nMOS will be OFF.
So the output Vout will get two paths through two ON pMOS to get connected with Vdd.
The output will be charged to the Vdd level.
The output line will not get any path to the GND as both the nMOS are off.
So, there is no path through which the output line can discharge. The output line will maintain the
voltage level at Vdd; so, High.
2. CASE 2 : VA = 0 AND VB = 1
VA – 0 : pMOS1 – ON; nMOS1 – OFF
VB – 1 : pMOS2 – OFF; nMOS2 - ON
pMOS1 and pMOS2 are in parallel. Though pMOS2 is OFF, still the output line will get a path through
pMOS1 to get connected with Vdd.
nMOS1 and nMOS2 are in series. As nMOS1 is OFF, so Vout will not be able to find a path to GND to
get discharged.
This in turn results the Vout to be maintained at the level of Vdd; so, High
3. CASE 3 : VA = 1 AND VB =0
In all the 4 cases we have observed that Vout is following the exact pattern as in the truth table for the corresponding
input combination.
The output voltage of the CMOS, two input NOR gate will get a logic-low voltage of VOL = 0 and a logic-high
voltage of VOH = VDD. The equation of the switching threshold voltage Vth is given by
• The circuit consists of a parallel-connected n-net and a series-connected complementary p-net. The input voltages VA
and VB are applied to the gates of one nMOS and one pMOS transistor.
• Following figure shows Two input NOR gate using CMOS logic and truth table of NOR gate.
• Now let’s understand how this circuit will behave like a NOR gate. The circuit output should follow the same pattern
as in the truth table for different input combinations.
1. CASE 1 : VA =0 AND VB =0
3. CASE 1 : VA = 1 AND VB = 0
4. CASE 1 : VA = 1 AND VB = 0
In all the 4 cases we have observed that Vout is following the expected value as in 2 input NOR gate truth table.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Complex Logic Circuits
NMOS Depletion Load Complex Logic Gate
Q- Realize ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
𝒁 = 𝑷(𝑺 + 𝑻) + 𝑸𝑹 Using nMOS Logic
To realize complex functions of multiple input variables, the basic circuit structures and design principles
developed for NOR and NAND can be extended to complex logic gates.
The ability to realize complex logic functions, using a small number of transistors is one of the most attractive
features of nMOS and CMOS logic circuits.
Consider the following Boolean function as an example.
The nMOS depletion-load complex logic gate used to realize this function is shown in figure.
If all input variables are logic-high in the circuit realizing the function, the equivalent driver (W/L) ratio of the
pull-down network consisting of five nMOS transistors is
------------------------------------------------------------------------------------------------------------------------------------------------------
Q- Realize XOR Function using NMOS Depletion Load Complex Logic Gate
For XOR gate, logic symbol and Boolean function and truth table is is :
A B F
0 0 0
0 1 1
1 0 0
1 1 0
Q- Realize XNOR Function using NMOS Depletion Load Complex Logic Gate
For XNOR gate, logic symbol and Boolean function and truth table is :
̅ 𝑎𝑛𝑑 𝐴̅𝐵
Here we require NORing of 𝐴𝐵
̅ and 𝐴̅𝐵
So operations are performed by parallel-connected drivers for 𝐴𝐵
The realization of the n-net, or pull-down network, is based on the same basic design principles examined for
nMOS depletion-load complex logic gate.
The pMOS pull-up network must be the dual network of the n-net.
It means all parallel connections in the nMOS network will correspond to a series connection in the pMOS
network, and all series connection in the nMOS network corresponds to a parallel connection in the pMOS
network.
The figure shows a simple construction of the dual p-net (pull-up) graph from the n-net (pull-down) graph for
Vout = ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
𝐴(𝐷 + 𝐸) + 𝐵𝐶
First the logic nMOS transistors are structured according to the rules above. The output of the function is the
complement of the nMOS logic. Now the pMOS transistor network has to be structured according to the
following rules:
o Rule 3: Parallel connections of nMOS transistors have to be transformed to serial connections of
pMOS transistors. The input literals applied to the pMOS transistors are identical with the gate
inputs of the nMOS transistors (no inversion needed)
o Rule 4 : Serial connections of nMOS transistors have to be transformed to parallel connections of
pMOS transistors. Input literals remain unchanged.
----------------------------------------------------------------------------------------------------------------------
Q- Realize F = ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
(𝑨. 𝑩 + 𝑪. 𝑫) Function using CMOS Logic
We can understood as follow for Pull-down network we will arrange nMOS transistors as below
Q- Realize F = ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
(𝑨(𝑩𝑪 + 𝑫) ) Function using CMOS Logic
VDD
-------------------------------------------------------------------------------------------------------------------------------------------------
Q Explain Pseudo nMOS Logic
In Pseudeo nMOS logic the pMOS network is substituted by one PMOS load transistor with its gate
grounded.
Since the pMOS is not driven by signals, it is always ‘ON’.
The effective gate voltage seen by the pMOS transistor is Vdd.
It consists of a single pMOS load per gate and a nMOS pull-down network.
An n-device pull-down or driver is driven with the input signal.
This roughly equivalent to use of a depletion load is Nmos technology and is thus called ‘Pseudo-
NMOS’.
The circuit is used in a variety of CMOS logic circuits.
In this, PMOS for most of the time will be linear region. So resistance is low and hence RC time
constant is low.
When the nMOS is turned ‘on', a direct path between supply and ground exists and static power will
be drawn. However, the dynamic power is reduced due to lower capacitive loading.
Features of pseudo-NMOS logic
o Advantages
Prepared By : L.J.Vora, LEC, Govt. Polytechnic Ahemdabad Page 15
Low area cost
only N+1 transistors are needed for an N input gate
Low input gate-load capacitance
o Disadvantage
It dissipates static power, when pull-down network is on
Realization of Z = ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
𝑨𝑩 + 𝑪(𝑫 + 𝑬) Using pseudo nMOS logic
If the set input (S) is equal to logic "1" and the reset input is equal to logic "0." then the output Q will be forced
to logic "1". While 𝑄̅ is forced to logic "0". This means the SR latch will be set, irrespective of its previous state.
Similarly, if S is equal to "0" and R is equal to "1" then the output Q will be forced to "0" while 𝑄̅ is forced
to "1". This means the latch is reset, regardless of its previously held state.
Finally, if both of the inputs S and R are equal to logic "1" then both output will be forced to logic "0" which
conflicts with the complementarity of Q and 𝑄̅
S R Q 𝑄̅ Operation
0 0 Q 𝑄̅ Hold
1 0 1 0 Set
0 1 0 1 Reset
1 1 0 0 Not allowed
CMOS SR latch based on NOR gate is shown in the figure given below.
If the S is equal to VOH and the R is equal to VOL, both of the parallel-connected transistors M1 and M2 will be
ON. The voltage on node 𝑄̅ will assume a logic-low level of VOL = 0.
At the same time, both M3 and M4 are turned off, which results in a logic-high voltage VOH at node Q. If the R
is equal to VOH and the S is equal to VOL, M1 and M2 turned off and M3 and M4 turned on
.
Block diagram and gate level schematic of NAND based SR latch is shown in the figure. The small circles at the S and
R input terminals represents that the circuit responds to active low input signals. The truth table of NAND based SR
latch is given in table
1 0 1 0 Latch SET.
0 1 0 1 Latch RESET.
1 1 0 0 Invalid condition.
If S goes to 0 (while R = 1), Q goes high, pulling 𝑄̅ low and the latch enters Set state
S = 0 then Q = 1 (if R = 1)
If R goes to 0 (while S = 1), Q goes high, pulling 𝑄̅ low and the latch is Reset
R = 0 then Q = 1 (if S = 1)
Hold state requires both S and R to be high. If S = R = 0 then output is not allowed, as it would result in an
indeterminate state.
CMOS SR Latch based on NAND Gate is shown in figure.
When CLK is low, the latch retains its current state. Observe that Q changes state −
o When S goes high during positive CLK.
o On leading CLK edge after changes in S & R during CLK low time.
o A positive glitch in S while CLK is high
o When R goes high during positive CLK.
Circuit is implemented with four NAND gates. If this circuit is implemented with CMOS then it requires 16 transistors.
-------------------------------------------------------------------------------------------------------------------------------------------------------