Chap3-1 2
Chap3-1 2
Chap3-1 2
Topics
Combinational logic functions.
Static complementary logic gate structures.
Copyright
Copyright
Gate design
Why designing gates for logic functions is
non-trivial:
may not have logic gates in the libray for all
logic expressions;
a logic expression may map into gates that
consume a lot of area, delay, or power.
Copyright
Function:
f = ab + ab
Copyright
Completeness
A set of functions f1, f2, ... is complete iff
every Boolean function can be generated by a
combination of the functions.
NAND is a complete set; NOR is a complete
set; {AND, OR} is not complete.
Transmission gates are not complete.
If your set of logic gates is not complete, you
cant design arbitrary logic.
Copyright
Copyright
pullup
network
out
inputs
pulldown
network
VSS
Modern VLSI Design 4e: Chapter 3
Copyright
Inverter
+
out
Copyright
Inverter layout
VDD
+
tub ties
out transistors
a
out
(tubs not
shown)
GND
Modern VLSI Design 4e: Chapter 3
Copyright
NAND gate
+
out
b
Copyright
NAND layout
VDD
+
out
b
out tub
ties
b
a
GND
Copyright
NOR gate
+
b
a
out
Copyright
NOR layout
b
VDD
a
out
tub ties
b
out
a
GND
Modern VLSI Design 4e: Chapter 3
Copyright
AOI/OAI gates
AOI = and/or/invert; OAI = or/and/invert.
Implement larger functions.
Pullup and pulldown networks are compact:
smaller area, higher speed than NAND/NOR
network equivalents.
AOI312: and 3 inputs, and 1 input (dummy),
and 2 inputs; or together these terms; then
invert.
Copyright
AOI example
out = [ab+c]:
invert
symbol
circuit
or
and
Copyright
Copyright
b
b
dummy
dummy
Modern VLSI Design 4e: Chapter 3
Copyright
Logic levels
logic 1
unknown
VSS
VH
VL
logic 0
Copyright
Copyright
Transfer characteristics
Copyright
Copyright
Logic thresholds
Choose threshold voltages at points where
slope of transfer curve = -1.
Inverter has a high gain between VIL and VIH
points, low gain at outer regions of transfer
curve.
Note that logic 0 and 1 regions are not equal
sizedin this case, high pullup resistance
leads to smaller logic 1 range.
Copyright
Noise margin
Noise margin = voltage difference between
output of one gate and input of next. Noise
must exceed noise margin to make second
gate produce wrong output.
In static gates, t= voltages are VDD and
VSS, so noise margins are VDD-VIH and VILVSS.
Copyright
CMOS Inverter:
Transfer characteristic (Review)
A: N: off P: linear
C: N: saturated P: saturated
E: N: linear P: off
Modern VLSI Design 4e: Chapter 3
B: N: saturated P: linear
D: N: linear P: saturated
Copyright
Copyright
2
2008 Wayne Wolf
6
Delay
Copyright
Delay assumptions
Copyright
Copyright
Capacitive load
Most capacitance
comes from the next
gate.
Load is measured or
analyzed by Spice.
Cl: load presented by
one minimum-size
transistor.
CL = (W/L)i Cl
Copyright
Copyright
Resistive approximation
Copyright
Copyright
Copyright
tf = 2.2 R CL
Copyright
So
td = 0.69 x 6.47E3 x 1.78E-15 = 7.8 ps.
tf = 2.2 x 6.47E3 x 1.78E-15 = 26.4 ps.
Copyright
Quality of RC approximation
Copyright
Copyright
Other models
Copyright
Copyright
Power consumption
Copyright
Observations on power
consumption
Resistance of pullup/pulldown drops out of
energy calculation.
Power consumption depends on operating
frequency.
Copyright
Speed-power product
Also known as power-delay product.
Helps measure quality of a logic family.
For static CMOS:
SP = P/f = CV2.
Copyright