basic logic gates in cmos
TRANSCRIPT
-
7/25/2019 Basic Logic Gates in CMOS
1/22
-
7/25/2019 Basic Logic Gates in CMOS
2/22
We may view the output networkof the gate as consisting of 2switches:
SWp (an assert-low device)SWn (an assert-high device)
These are wired in to ensure thatone switch is closed while the other
switch is open.
-
7/25/2019 Basic Logic Gates in CMOS
3/22
-
7/25/2019 Basic Logic Gates in CMOS
4/22
The Complementary Pair
CMOS logic circuits are based on the concept of complementary pairsof transistor switching.
Complementary pair consists of pFET and nFET.
The input signal xsimultaneously controlsconduction throughboth FETs.
-
7/25/2019 Basic Logic Gates in CMOS
5/22
The name complementary is derived from the operation: when one FETis on, the other is off.
The important aspect of this behavior is that the pFET and nFET are
electrical opposites, which translates directly into a coherent switchingscheme.
-
7/25/2019 Basic Logic Gates in CMOS
6/22
The NOT Gate or INVERT function is considered thesimplest Boolean operation.
It has an input x and produces and output of f(x) off(x) = NOT (x) = x
-
7/25/2019 Basic Logic Gates in CMOS
7/22
This circuit uses a complementary pair of MOSFETs such that an inputx controls both transistors.
-
7/25/2019 Basic Logic Gates in CMOS
8/22
If the input x has a value of zero, then pFET MP is on and nFET. MP isoff.
It is clear that this simple circuit does indeed provide the NOT operation.
-
7/25/2019 Basic Logic Gates in CMOS
9/22
This can be verified analytically by applying theFET logic rules to write the output f as
f = x 1 + x 0where the first term describes the MP and the
second is due to Mn. Simplying givesf = x
-
7/25/2019 Basic Logic Gates in CMOS
10/22
For a given input logic state of x = 0 or 1, the output isconnected to either Vdd or ground and gives a well-defined value.
It avoids the possibilities where both FETs are off at thesame time or both on at the same time.
-
7/25/2019 Basic Logic Gates in CMOS
11/22
How to create2-input NOR gates using the sameprinciples. These are:
Use a complementary nFET/pFET pair for each input
Connect the output node to the power supply Vddthrough pFETs
Connect the output node to the ground through nFETs
Insure that the output is always a well-defined high-
voltage or low voltage.
-
7/25/2019 Basic Logic Gates in CMOS
12/22
-
7/25/2019 Basic Logic Gates in CMOS
13/22
De MorganTheorem
-
7/25/2019 Basic Logic Gates in CMOS
14/22
One approach to building the logic gate is to use the Karnaugh map.
-
7/25/2019 Basic Logic Gates in CMOS
15/22
The first term connects the output to 1 (the power supply Vdd).
The second and third terms represent two independent nFET
paths between the output and 0(ground).
Combining these statements results in the CMOS NOR 2 circuitshown below.
-
7/25/2019 Basic Logic Gates in CMOS
16/22
Series-parallel transistor arrangement principle that allows us to designmore complex gates.
Note that the two pFETs are Mpx and Mpy are connected in series suchthat both must be on to establish a conducting path from Vdd to theoutput. The Mnx and Mny are wired in parallel so that a connection
between the output and ground is created if ither nFET is on.
-
7/25/2019 Basic Logic Gates in CMOS
17/22
-
7/25/2019 Basic Logic Gates in CMOS
18/22
-
7/25/2019 Basic Logic Gates in CMOS
19/22
-
7/25/2019 Basic Logic Gates in CMOS
20/22
-
7/25/2019 Basic Logic Gates in CMOS
21/22
-
7/25/2019 Basic Logic Gates in CMOS
22/22