Académique Documents
Professionnel Documents
Culture Documents
1/1
Q:
A: HO: Synthesis of CMOS Gates HO: Examples of CMOS Logic Gates Example: CMOS Logic Gate Synthesis Example: Another CMOS Logic Gate Synthesis
Jim Stiles
Dept. of EECS
11/14/2004
1/4
VDD
A B C D Inputs A B C D
PUN
Y = f (A, B ,C ,D )
PDN
Output
Jim Stiles
Dept. of EECS
11/14/2004
2/4
VDD
PUN
Y =0
In this state, the output is LOW (i.e., Y =0).
PDN
VDD
PUN
Y =0
In this state, the output is HIGH (i.e.,Y =1).
PDN
Jim Stiles
Dept. of EECS
11/14/2004
3/4
Thus, the PUN and the PDN essentially act as switches, connecting the output to either VDD or to ground:
VDD
VDD
Y =0
OR
Y =VDD
* Note that the key to proper operation is that one switch must be closed, while the other must be open. * Both switches closed or both switches open would cause an ambiguous digital output! * To prevent this from occurring, the PDN and PUN must be complementary circuits.
Jim Stiles
Dept. of EECS
11/14/2004
4/4
PUN
Y =A
PDN
For more complex digital CMOS gates (e.g., a 4-input OR gate), we find: 1) The PUN will consist of multiple inputs, therefore requires a circuit with multiple PMOS transistors. 2) The PDN will consist of multiple inputs, therefore requires a circuit with multiple NMOS transistors.
Jim Stiles
Dept. of EECS
11/14/2004
1/4
Y = A + BC
Jim Stiles
Dept. of EECS
11/14/2004
2/4
2. Then, we realize AND operations in Y = f (A, B ,C ) with series NMOS devices. E.G.:
Y A
PDN Note that Y =0 if both A = VDD AND B = VDD.
Y = AB
PDN
Jim Stiles
Dept. of EECS
11/14/2004
3/4
e.g.,
Y =A +BC
Jim Stiles
Dept. of EECS
11/14/2004
4/4
VDD
A
PUN
VDD
PUN
Jim Stiles
Dept. of EECS
11/14/2004
1/3
See now if you can determine the Boolean algebraic expression for these pull-up networks:
Jim Stiles
Dept. of EECS
11/14/2004
2/3
Effectively, these symbols represent the fact that we are now considering MOSFETs as switches, which can be placed either in an open state or a conducting state. Note there are two kinds of switchesthe ones that conduct when the input is high (i.e., NMOS) and ones that conduct when the input is low (i.e., PMOS).
Jim Stiles
Dept. of EECS
11/14/2004
3/3
Note the PUN and the PDN for each of these circuits have equivalent Boolean expressions (make sure you see this!).
Jim Stiles
Dept. of EECS
11/14/2004
1/6
Y =A +B +AC
Y = f (A, B ,C
Jim Stiles
Dept. of EECS
11/14/2004
2/6
We must first complement this equation, and then apply DeMorgans Theorem (several times!).
Y =A +B +AC Y =A +B +AC
)( ) = (A + B ) (A + C )
= A +B AC
= (A + B ) (A + C
= AA + AC + BA + BC = A (A + B + C ) + BC = A + BC
We can thus realize this logic with the following NMOS PDN:
Jim Stiles
Dept. of EECS
11/14/2004
3/6
PDN
Y = A + BC
Y = f A, B ,C
Jim Stiles
Dept. of EECS
11/14/2004
4/6
Y =A +B +AC
=A B +AC = A B +C
We can thus realize this logic with the following PMOS PUN:
Jim Stiles
Dept. of EECS
11/14/2004
5/6
VDD
PUN
Y = A B +C
Jim Stiles
Dept. of EECS
11/14/2004
6/6
VDD
Y =A +B +AC
Jim Stiles
Dept. of EECS
11/14/2004
1/4
( ) Y = (A + B ) C
Y = A+B C Y = A+B +C Y = AB + C
of uncomplemented inputs A, B, and C ! The input C appears as C in the expression. What do we do now?
A: An easy problem to solve! We can essentially make a substitution of variables: C = C
Jim Stiles
Dept. of EECS
11/14/2004
2/4
And thus: Y = AB + C Therefore, the inputs to this logic gate should be A, B, and C (i.e, A, B, and the complement of C ). Note that this Boolean expression says that: The ouput is low if either,A AND B are both high, OR C is high Of course another way of saying this is: The output is low if either A AND B are both high, OR C is low The PDN is therefore:
Y = AB + C
= AB + C
C =C
B
Jim Stiles
Dept. of EECS
11/14/2004
3/4
Y = A + B C
( ) = (A + B) C
This expression says that: The output will be high if, either A OR B are low, AND C is low Which is equivalent to saying: The output will be high if, either A OR B are low, AND C is high The CMOS digital logic device is therefore:
Jim Stiles
Dept. of EECS
11/14/2004
4/4
VDD
Y = A +B C
C =C
Y
( ) = (A + B ) C = (A + B ) C
C =C
B
Jim Stiles
Dept. of EECS