EECS 151/251A Fall 2017 Digital Design and Integrated Circuits
EECS 151/251A Fall 2017 Digital Design and Integrated Circuits
Fall 2017
Digital Design and
Integrated Circuits
Instructors:
Weaver and Wawrzynek
Lecture 8
EE141
Administration
❑ Exam in One Week
❑ Take here in class and with an extra
30 minutes (5:30-7:30).
❑ Covers topics: beginning through 2/6.
2
EE141
Overview of Physical Implementations
The stuff out of which we make systems.
❑ Integrated Circuits (ICs)
▪ Combinational logic circuits, memory elements, analog
interfaces.
❑ Printed Circuits (PC) boards
▪ substrate for ICs and interconnection, distribution of CLK,
Vdd, and GND signals, heat dissipation.
❑ Power Supplies
▪ Converts line AC voltage to regulated DC low voltage levels.
❑ Chassis (rack, card case, ...)
▪ holds boards, power supply, fans, provides physical
interface to user or other systems.
❑ Connectors and Cables.
3
EE141
Printed Circuit Boards
❑ fiberglass or ceramic
❑ 1-25 conductive layers
❑ ~1-20in on a side
4
EE141
Integrated Circuits ❑ Primarily Crystalline Silicon
❑ 1mm - 25mm on a side
❑ 100 - 20B transistors
❑ (25 - 250M “logic gates”)
❑ 3 - 10 conductive layers
❑ 2018 state-of-the-art feature size
7nm = 0.007 x 10-6 m
❑ “CMOS” most common -
complementary metal oxide
semiconductor
Chip in Package
• Package provides:
– spreading of chip-level signal
paths to board-level
– heat dissipation.
• Ceramic or plastic with gold
5
EE141
From Gates to Circuits
❑ Digital abstraction
❑ CMOS abstraction
❑ Switch logic
❑ Transient properties
6
EE141
CMOS abstraction
EE141
CMOS Devices
❑ MOSFET (Metal Oxide Semiconductor Field Effect Transistor).
Top View
Cross-section View
9
EE141
MOS Transistor as a Switch
S D S D
10
EE141
ON/OFF Switch Model of MOS Transistor
G
|VGS|
S D
Ron
S D S D
|VGS| < |VT| |VGS| ≥ |VT|
11
EE141
Drain versus Source - Definition
12
EE141
A More Realistic Switch
G Transistors in the
|VGS| sub 100 nm age
S D
Ron
Roff
S D S D
|VGS| < |VT| |VGS| > |VT|
13
EE141
A Logic Perspective
NMOS Transistor
G
VGS > 0
S D
X Ron
Y Z
Y=Z if X=1
14
EE141
A Complementary Switch
X Ron
Y Z
Y=Z if X=0
PMOS Transistor
G
VGS < 0
S D
V DD
V in V out
CL
16
EE141
The Switch Inverter
First-Order DC Analysis
V DD V DD
Rp VOL = 0
VOH = VDD
V out
V out VM = f(Rn, Rp)
Rn
V in = V DD V in = 0
17
EE141
Switch logic
EE141
Static Logic Gate
▪ The output of the gate assumes at all times the value of the
Boolean function implemented by the circuit (ignoring, once
again, the transient effects during switching periods).
19
EE141
Building logic from switches
A B AND
Series X Y
Y = X if A AND B
A
OR
Parallel X Y
Y = X if A OR B
B
(output undefined if condition not true)
20
EE141
Logic using inverting switches
A B NOR
Series X Y Y = X if A AND B
=A+B
A
NAND
Parallel Y = X if A OR B
X Y
= AB
B
21
EE141
Static Complementary CMOS
VDD
In1
Inverting switches
…
In2 PUN
InN
F(In1,In2,…InN)
In1
…
22
EE141
Complementary CMOS Logic Style
A + B = AB
AB = A + B
❑ Static CMOS gates are always inverting
23
EE141
Example Gate: NAND
24
EE141
Example Gate: NOR
25
EE141
Complex CMOS Gate
OUT = D + A • (B + C) OUT = D • A + B • C
B
A
C
D
OUT
A
D
B C
26
EE141
Non-inverting logic
VDD
In1
Non-Inverting switches
…
In2 PUN
InN Why is this
F(In1,In2,…InN)
a bad idea?
In1
Inverting switches
…
In2 PDN
InN
27
EE141
Switch Limitations
VDD VDD
S Good 1 D Bad 1
VDD
0 → VDD
D S 0 → VDD - VTn
VGS
CL CL
VDD → 0 VDD → |VTp|
D VGS S
CL CL
VDD
S Good 0 D Bad 0
Tough luck …
28
EE141
Transmission Gate
❑ Transmission gates are the way to build “switches” in CMOS.
❑ In general, both transistor types are needed:
❑ nFET to pass zeros.
❑ pFET to pass ones.
❑ The transmission gate is bi-directional (unlike logic gates).
❑ Does not directly connect to Vdd and GND, but can be combined with
logic gates or buffers to simplify many logic structures.
29
EE141
Transmission-gate Multiplexor
s
2-to-1 multiplexor:
c = sa + s’b
31
EE141
Alternative 4-to-1 Multiplexor
❑ This version has less
delay from in to out.
32
EE141
Tri-state Buffers
Tri-state Buffer:
“high
impedance” (output
disconnected)
Variations:
transmission gate
Inverting buffer useful in
Inverted enable
implementation
33
EE141
Tri-state Buffers
=0
=0
1
=1
Tri-state buffers are used when
Tri-state buffers multiple circuits all connect to a
enable “bidirectional” common wire. Only one circuit at a
connections. time is allowed to drive the bus.
All others “disconnect” their
=1
0 outputs, but can “listen”. =0
34
EE141
Tri-state Based Multiplexor
Multiplexor
Transistor Circuit for inverting
multiplexor:
35
EE141
Latches and Flip-flops
Positive Level-sensitive latch:
Positive
LatchEdge-triggered flip-flop
Transistor Level:
built from two level-sensitive Latch Implementation:
latches:
clk’
clk’
clk
clk
36
EE141
Summary:
Complimentary CMOS Properties
37
EE141
Digital abstraction
EE141
Noise and Digital Systems
39
EE141
Bridging the digital and the analog worlds
40
EE141
From MIT 6.012 Spring 2007, Lecture 11
Ideal Inverter
Ideal inverter returns well defined logical outputs (0 or V+) even in the
presence of considerable noise in VIN (from voltage spikes, crosstalk, etc.)
⇒ signal is regenerated! 41
EE141
From MIT 6.012 Spring 2007, Lecture 11
“Real Inverter”
42
EE141
From MIT 6.012 Spring 2007, Lecture 11
Valid Input Ranges
“1”
VOH Noise margin high:
NMH
Undefined VIH NMH = VOH – VIH
Region
NML VIL Noise margin low:
VOL NML = VIL – VOL
“0”
Gate Gate
Output Input
(Stage M) (Stage M+1)
44
EE141
Simulated Inverter VTC (Spice)
2.5
❑ VOH =
2
❑ VOL =
1.5 ❑ VIL =
V (V)
VIH =
out
1
❑
❑ NMH =
0.5
❑ NML =
0
0 0.5 1
V (V)
1.5 2 2.5
❑ VM =
in
45
EE141