Beruflich Dokumente
Kultur Dokumente
Agenda
1. Combinational Logic
- from this, we can find a minimal Sum of Products expression using K-maps
- once we have a logic expression, we then move into the transistor-level implementation stage
Announcements
1. Read Chapter 7
Module #6
Page 1
Module #6
Page 2
Module #6
Page 3
Module #6
Page 4
- The only time the pull-up network drives the output is when we have two 0s 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.
- This implies a series configuration in the pull-up (PMOS) network.
Module #6
Page 5
Module #6
Page 6
- of specific interest is Vth, which we can adjust with the sizing of the transistors
- in order to analyze a more complex logic gate, we convert it into an equivalent inverter
Transistors in Series
- conceptually, the current flowing in series transistors needs to go through two channels,
each with an equivalent resistance (or transconductance k)
- with the effective resistance doubling, we can say that the transconductance (or the
ability to drive a current given an input voltage) is divided by 2
- transistors in series with the same size can be modeled as an equivalent transistor with keq=k/2
Transistors in Parallel
- lets use representative voltages of VDD=5v and Vth=2.5 to illustrate the derivation
- conceptually, the current flowing in parallel transistors can conduct twice the amount of current
compared to a a single transistor with the same gate voltage.
- we can model this behavior with an equivalent transistor with keq=2k
EELE 414 Introduction to VLSI Design
Module #6
Page 7
Module #6
Page 8
- since both transistors are ON, we can estimate that ~1.25v drops across each transistor:
I D,nnetwork I D, p network
- looking at M3, we know that VGS,p|M3= -2.5v and VDS,p|M3= -1.25v so M3 is in the linear region.
- for the NMOS, since VGS,n=VDS,n, we know what both transistors are in saturation
- looking at M4, the node between M3 and M4 is estimated to be at ~3.75 (i.e., 5v 1.25v)
- in addition, we can state that the current at the Vout node is the combination of both NMOS currents
- this puts VDS,p|M4= -1.25v and VGS,p|M4= -1.25v, which means M4 is in the saturation region.
I D ,n network 2 I D ,n|sat
1
2
2
I D ,n network 2 k n Vth VT ,n k n Vth VT ,n
2
I D ,n network
Vth VT ,n
kn
Module #6
Page 9
1
2
I DS ,3|lin k p 2 VGS , p VT , p VDS , p VDS
,p
2
1
I DS , 4|sat k p VGS , p VT , p
2
- Since the PMOS current is expressed terms of IDS, we can rewrite this as:
I DS ,n I SD, p I DS , p
I DS ,n I SD, p I DS , p
- we know that for M3, VGS,p = Vth-VDD. substituting this in and carrying the (-) through, in we get:
1
2
I SD,3|lin I DS ,3|lin k p 2 Vth VDD VT , p VDS , p VDS
,p
2
1
2
I SD,3|lin k p 2 VDD Vth VT , p VSD, p VSD
,p
2
Module #6
Page 10
1
2
I SD, 4|sat I DS , 4|sat k p Vth VDD VSD3 VT , p
2
2
1
I SD, 4|sat k p VDD Vth VT , p VSD3
2
Module #6
Page 11
Module #6
Page 12
VDD Vth VT , p 2
ID
kp
kR
- combining this with our previous expression we get:
VT ,n
Vth ( NOR2)
1 1
VDD | VT , p |
2 kR
1
- or
VT ,n
Vth ( NOR2)
k p 4 kn
1 1
2 kR
- note that the PMOS series network has to be sized larger in
order to overcome the voltage drop across each stage.
1
VDD | VT , p |
4 kR
1
1
4 kR
Module #6
Page 13
kn
2 kn
1
kp
kp
2
Module #6
Page 14
VT ,n
Vth ( NOR)
1
N
1
VDD VT , p
kR
1
N
1
kR
- and our rule of thumb for an ideal symmetric equivalent inverter becomes:
Output
kn
N kn
1
kp
kp
N
k p N 2 kn
kR
GND
GND
Module #6
Page 15
Module #6
Page 16
L equivalent
1
1
L N
W
W
L equivalent
L N
Module #6
Page 17
Module #6
Page 18
Module #6
Page 19
Module #6
Page 21
VT ,n 2
1
VDD | VT , p |
kR
1 2
Module #6
Page 22
Vth ( NAND )
Module #6
Page 20
kR
1
kR
kn
k 2
1 n
kp
2kp
4 k p kn
Module #6
Page 23
Module #6
Page 24
VDD
1
VDD | VT , p |
kR
VT ,n N
Vth ( NAND )
VT ,n
Vth ( NAND )
N2
VDD | VT , p |
kR
1
Output
kR
N2
kR
- and our rule of thumb for an ideal symmetric equivalent inverter becomes:
kn
kn
N
1
kp
N kp
N 2 k p kn
Module #6
Page 25
1
kR
1 N
VDD
Module #6
Page 26
NOTE:
2) Creating the PMOS pull-up network to be the complement of the pull-down network
Module #6
Page 27
Module #6
Page 28
F A D E B C
- this is a graphical way to create the PMOS network for a given NMOS pull-down circuit.
- we first create the pull-down graph by representing:
Module #6
Page 29
Module #6
Page 30
- we orient the pull-up graph with VDD on the left and Vout on the right.
Remember that:
Module #6
Page 31
Module #6
Page 32
- AND-OR-INVERT
- this corresponds to a Sum-of-Products logic expression form:
ex)
OAI
F A B B'C C ' D
AOI
- OR-AND-INVERT
- this corresponds to a Products-of-Sums logic expression form:
ex) F A B B'C C ' D
OAI
- Note that we have the Invert portion in these forms so that we can directly synthesize the
NMOS pull-down network.
- we can create this form of a logic expression using DeMorgans Theorem
Module #6
Page 33
4) We then create the dual pull-up graph on top of the pull-down graph
2) we then manipulate it into an OAI or AOI form so that the pull-down network can be
directly synthesized
Module #6
Page 34
Module #6
Page 35
Module #6
Page 36
L equivalent
1
1
L N
Module #6
Page 37
W
W
L equivalent
L N
Module #6
Page 38
L P equivalent
L N equivalent
- in a stick diagram, draw the general layout configuration that will be used in order to figure out
how the diffusion layer contacts are placed.
1
W
L A
1
1
1
W W
1
1
L
B L C
W
W
L
L
D E
1
1
1
1
1
1
W
W W
W
W
L A L D L E L B L C
Module #6
Page 39
Module #6
Page 40
- 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 arent driving will switch
their T-gates to be a high-impedance.
Module #6
Page 41
Module #6
Page 42
- 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:
Req ,n
VDD Vout
I DS ,n
Req , p
VDD Vout
I SD, p
Module #6
Page 43
VDD Vout
1
2
k n VDD Vout VT ,n
2
VDD Vout
Req , p1
2
1
k p VDD VT , p
2
Req ,n1
Region 2
Module #6
Page 44
VDD Vout
1
2
k n VDD Vout VT ,n
2
VDD Vout
1
2
k p 2 VDD VT , p VDD Vout VDD Vout
2
Req ,n 2
Req , p 2
Region 3
Req ,n 3 HIGH
Req , p 3
VDD Vout
1
2
k p 2 VDD VT , p VDD Vout VDD Vout
2
Module #6
Page 45
2-input Multiplexer
Module #6
Page 46
Exclusive OR (XOR)
Module #6
Page 47
Module #6
Page 48