Documente Academic
Documente Profesional
Documente Cultură
U M & A saxeT
Chapter 1
-Technology, Trends, and Design Flow
Interconnection
wires
Design concept
Initial design
Simulation Redesign
No
Design correct?
Yes
Successful design
Implementation
Build prototype
Yes
No
Correct? Minor errors?
Yes No
Chapter 2
-Logic, Gates, Boolean Expressions, and Hardware Description
x = 0 x = 1
S
Battery x Light
S
Power
supply x Light
S S
Power
supply x1 x2 Light
x1
Power
supply S Light
x2
X1
S
Power
supply S X3 Light
X2
Power
supply x S Light
xn
x1
x2
x1
x1 + x2 x1 + x2 + + xn
x2
xn
(b) OR gates
x x
x
1
x
2
f = (x + x ) x
x 1 2 3
3
0 0 1 1 0
x 1
0 1 1 1 0 2 0
1 0 0 0 0 1
1 1 1 A
0 1 0
0011 1100
x
1
1 1 0 1
0101 g
x
2
x y x y
x y
x x x x x y
z
x y x y
z z
(a) x (d) x y
x y x y
z z
(b) y + z (e) x z
x y x y
z z
(c) x ( y + z) (f) x y + x z
x y x y
z z x y x y
x y xy z z
yz x y+ x z
x y x y
z z x y
xz xz z
x y + x z+ y z
x1
x2
x1
f
x2
x2
f
x3
x1
x1
x3
f
x2
x1
x2
x1
x1 x2 x1 x2 xn
x2
xn
x1
x2
x1
x1 + x2 x1 + x2 + + xn
x2
xn
x1
x1 x1
x2 x2
x2
(a) x1 x2 = x1 + x2
x1
x1 x1
x2 x2
x2
(b) x1 + x2 = x1 x2
x1 x1
x2 x2
x3 x3
x4 x4
x5 x5
x1
x2
x3
x4
x5
x1 x1
x2 x2
x3 x3
x4 x4
x5 x5
x1
x2
x3
x4
x5
x1
x2 f
x3
x1
x2 f
x3
x1
f
x2
x3
x1
f
x2
x3
x1
x2
x3
x3
x2
x1
000 0
f x1 0
001 0 f
s x2 1
010 1
x2
011 1
(b) Circuit (c) Graphical symbol
100 0
101 1
110 0 s f (s, x1, x2)
111 1 0 x1
(a)Truth table 1 x2
DESIGN ENTRY
Synthesis
system.
No
Design correct?
Yes
Physical design
Timing simulation
No
Timing requirements met?
Chip configuration
Fundamentals of Digital Logic Brown-Vranesic
i oh C842 NE CE
U M & A saxeT
x1
x2
f
x3
endmodule
endmodule
x1
x3
x2
x4
endmodule
endmodule
// Behavioral specification
module example5 (x1, x2, x3, f);
input x1, x2, x3;
output f ;
reg f ;
endmodule
// Behavioral specification
module example5 (x1, x2, x3, f);
input x1, x2, x3;
output reg f ;
endmodule
x1 x2 x1 x2
x3 x3
x1 x2 x1 x2
x3 x3
x3
x3
x1 x2 x1 x2
x4 x4
(a) (b)
m0 x4
x1 x2 x1 x2
m1
x
m2
x3 3
x1 1
0
x2 1
0
x3 1
0
f 1
0
Time
1
x1
0
x2 1
0
x3 1
0
f 1
0
Time
Chapter 3
-Implementation Technology
Voltage
V DD
Logic value 1
V 1,min
Undefined
V 0,max
Logic value 0
VSS (Gnd)
Gate
Source Drain
Substrate (Body)
VG
VS VD
Gate
Drain Source
VDD
Substrate (Body)
VG
VS VD
VG
VS = 0 V
Closed switch Open switch
whenVG = VDD whenVG = 0 V
VG
VD VD VD = VDD
Open switch Closed switch
whenVG = VDD whenVG = 0 V
R R
+
5V
- Vf Vf
Vx Vx
x f x f
Vf
Vx
1
x1 x2 f
0 0 1
Vx
2 0 1 1
1 0 1
1 1 0
x1 x1
f f
x2 x2
x1 x2 f
Vf
0 0 1
Vx Vx 0 1 0
1 2
1 0 0
1 1 0
x1 x1
x2 f x2 f
Vf
A
Vx1
x1 x2 f
Vx2 0 0 0
0 1 0
1 0 0
1 1 1
x1 x1
f f
x2 x2
Vf
x1 x2 f
0 0 0
Vx Vx 0 1 1
1 2
1 0 1
1 1 1
x1 x1
x2 f x2 f
VDD
Vf
Vx
1
Pull-down network
(PDN)
Vx
n
V DD
Pull-up network
(PUN)
Vf
Vx
1
Pull-down network
(PDN)
Vx
n
VDD
T1
Vx Vf
x T1 T2 f
T2
0 on off 1
1 off on 0
V DD
T1 T2
Vf
Vx
1 T3 x1 x2 T1 T2 T3 T4 f
0 0 on on off off 1
0 1 on off off on 1
Vx
2 T4 1 0 off on on off 1
1 1 off off on on 0
V DD
Vx
1 T1
Vx
2 T2
x1 x2 T1 T2 T3 T4 f
Vf
0 0 on on off off 1
T3 T4 0 1 on off off on 0
1 0 off on on off 0
1 1 off off on on 0
V DD V DD
Vf
Vx
1
Vx
2
Vf
Vx
1
Vx
2
Vx
3
Vf
Vx
1
Vx
2
Vx
3
Vx
4
V DD
Vf Vx Vx Vf
1 2
Vx
1
L L H
L H H
H L H
Vx H H L
2
x1 x2 f
0 0 1 x1
0 1 1 f
x2
1 0 1
1 1 0
x1 x2 f
1 1 0 x1
1 0 0 f
x2
0 1 0
0 0 1
x1 x2 f
Vx Vx Vf
1 2 0 0 0 x1
0 1 0 f
L L L x2
1 0 0
L H L
1 1 1
H L L
H H H
(b) Positive logic
(a) Voltage levels
x1 x2 f
1 1 1 x1
1 0 1 f
x2
0 1 1
0 0 0
(c) Negative logic
VDD
Gnd
7404
7408 7432
x1
x2
x3
f
Logic gates
Inputs and Outputs
(logic variables) programmable (logic functions)
switches
Input buffers
and
inverters
x1 x1 xn xn
P1
f1 fm
Programmable
connections
OR plane
P1
P2
P3
P4
AND plane
f1 f2
Figure 3.26. Gate-level diagram of a PLA.
Fundamentals of Digital Logic Brown-Vranesic
i oh C842 NE CE
U M & A saxeT
x1 x2 x3
OR plane
P1
P2
P3
P4
AND plane
f1 f2
P1
f1
P2
P3
f2
P4
AND plane
Select
Enable
f1
Flip-flop
D Q
Clock
To AND plane
d
boar
t
ir cui
d c
rinte
P
PAL-like PAL-like
block block
I/O block
I/O block
Interconnection wires
PAL-like PAL-like
block block
I/O block
I/O block
PAL-like block
D Q
D Q
D Q
To computer
Printed
circuit board
0/1
0/1 x1 x2 f1
f
0/1 0 0 1
0 1 0
0/1
1 0 0
x2 1 1 1
x1
0
f1
0
1
x2
x1
x2
0/1
0/1
0/1
0/1
f
0/1
0/1
0/1
0/1
x3
Select
Out
Flip-flop
In1
In2 LUT D Q
In3
Clock
x1
x1 0 x2 0
0 f1 1 f2
0 0
x2 x2 x3
1 0
f1 0
1 f
1
f2
1
x1 f2
x2
x3
f1
x1
x2
x3
Figure 3.42. The logic function f1 = x2x3+x1x3 in the gate array of Figure 3.41.
Fundamentals of Digital Logic Brown-Vranesic
i oh C842 NE CE
U M & A saxeT
V = 0V
G
SiO 2
V = 0V
S
V
D
VG = 5 V
SiO2
VS = 0 V
VD = 0 V
Channel (type n)
ID
Triode Saturation
0 V GS V T
VDS
VDD VDD
Vf I stat V f = V OL
Vx RDS
V OH = V DD Slope = 1
V OL = 0 V
VT V IL V IH ( V DD V T ) V DD
Vx
V DD
2
Figure 3.46. The voltage transfer characteristic for the CMOS inverter.
Fundamentals of Digital Logic Brown-Vranesic
i oh C842 NE CE
U M & A saxeT
N1 N2
A
x f
V DD VDD
VA
Vx
Vf
VDD
Vx
50% 50%
Gnd
VDD
90% 90%
VA 50% 50%
tr tf
+ W2
W1
+
L
L
VDD
Vx ID
ID
Vf Vf
Vx
(a) Current flow when input Vx (b) Current flow when input Vx
changes from 0 V to 5 V changes from 5 V to 0 V
V DD
V DD
A B
Figure 3.51. NMOS and PMOS transistors used in the opposite way
from Figure 3.4.
Logic Logic
Vf Voltage
value value
Vx1 x1 x2 Vf f
0 0 1.5 V 0
VDD 0 1 1.5 V 0
Vx2 1.5 V
1 0 0
1 1 3.5 V 1
(a) An AND gate circuit (b) Truth table and voltage levels
Vf
Vx
1
Vx
2
Vx
3
Vx
k
VDD
Vf
N1
Vf
f To inputs of To inputs of
x x
n other inverters n other inverters
Cn
(a) Inverter that drives n other inverters (b) Equivalent circuit for timing purposes
V f for n =1
VDD
V f for n = 4
Gnd
0 Time
V DD
Vx
Vf
x f
e x f
x f
e= 1
x f
e x f e
0 0 Z
0 1 Z
x f
1 0 0
1 1 1
e e
x f x f
(a) (b)
e e
x f x f
(c) (d)
x1 f
x2
x f s f
0 Z
1 x
s
s= 0
x f=Z s
s= 1 x f
x f=x s
x1 x2 f = x 1 x2
0 0 0
0 1 1
x1
1 0 1 f = x1 x 2
x2
1 1 0
x1
x2
f = x1 x2
x1
x2
f = x1 x 2
x1
x2 f
Figure 3.62. A 2
- to
- 1multiplexer built using transmission gates.
x1 x2 x3
NOR plane
S1
VDD
S2
VDD
S3
NOR plane f1 f2
VDD
=
Ve
S1
VDD
VDD Ve
Sk ++++
+++++
++++ + ++++++ ++++ +
V DD
V DD
S1
S2
S3
S4
S5
S6
NOR plane
f1 f2
Figure 3.65. Programmable version of a NOR-NOR PLA.
Fundamentals of Digital Logic Brown-Vranesic
i oh C842 NE CE
U M & A saxeT
x1 x2 x3 x4
NOR plane
V DD
V DD
P1
P2
P3
P4
P5
P6
NOR plane
VDD
P1
P2
f1
P3
P4
P5
f2
P6
NOR plane
x1 0 Vf
0 1
f1
0
x2
1
VA
1 0 0
SRAM SRAM SRAM
V DD
SRAM
1
VB
VA To logic block
x1
x2
x3
x1
x2
x3
g
x1 A
x2 h
x3
V DD
Vf
Vx
1
Vx
2
Vx
3
Vx
1
Vx
2
Vx
3
Vx
4
Vf
Vf
Vx1
Vx2
Vx3
V DD
Vx
1
Vx
2
Vf
Vx
3
Vx
4
in 1 in2 in 3
out
in4 in5 in 6 in 7
Vx
1
Vx
2
Vf
Vx1
Vx2
Vf