Professional Documents
Culture Documents
Chapter 1: Introduction
Slides to accompany the textbook Digital Design, First Edition,
by Frank Vahid, John Wiley and Sons Publishers, 2007.
http://www.ddvahid.com
1.1
1995
DVD
players
Cell phones
1997
1999
Video
recorders
Cameras
2001
2003
Musical
instruments
TVs
2005
2007
???
Note: Slides with animation are denoted with a small red "a" near the animated items
1.2
Digital signal
Sound waves
move the
membrane,
which moves
the magnet,
microphone
digital
signal
value
Digital Design
Copyright 2007
Frank Vahid
Possible values:
1.00, 1.01, 2.0000009,
... infinite possibilities
value
analog
signal
which creates
current in the nearby wire
Possible values:
0, 1, 2, 3, or 4.
Thats it.
4
3
2
1
0
time
time
value
1
0
time
Digital Design
Copyright 2007
Frank Vahid
1
0
original signal
time
a2d
1
digitized signal
time
01 10 11 10 11
Copyright 2007
Frank Vahid
d2a
3
3
2
1
0
received signal
time
01 10 11 10 11
Volts
lengthy transmission
(e.g, cell phone)
lengthy transmission
(e.g, cell phone)
Volts
Volts
1
0
time
sa
m
e
2
1
0
time
button
digital
data
D2A
electric
signal
actuators and
other outputs
Digital Design
Copyright 2007
Frank Vahid
red
blue
red
blue
green
black
0 0 0
green
0 0 1
red
blue
green
black
0 1 0
33
degrees
air
black
temperature
sensor
0 0 1 0 0 0 0 1
Symbol
Encoding
Symbol
Encoding
R
S
T
L
N
E
0
1010010
1010011
1010100
1001100
1001110
1000101
0110000
0101110
0001001
r
s
t
l
n
e
9
1110010
1110011
1110100
1101100
1101110
1100101
0111001
0100001
0100000
.
<tab>
!
<space>
Question:
What does this ASCII bit sequence represent?
1010010 1000101 1010011 1010100
a
REST
Digital Design
Copyright 2007
Frank Vahid
23
Q: How much?
22
21
20
=
a
4+ 1= 5
Digital Design
Copyright 2007
Frank Vahid
29
28
27
26
25
24
23
16 8
22
21
20
10
too much
too much
=32
1
32 16 8
=16
0 1
32 16 8
=8
0 0 1
32 16 8
=8+4=12
0 0 1 1
32 16 8
0 0 1 1 0 0
Digital Design
Copyright 2007
Frank Vahid
32 16 8
DONE
answer
11
Remaining quantity: 12
32 16 8
1
32 16 8
0 1
32 16 8
16 is
too much
a
12 8 = 4
0 0 1
32 16 8
4-4=0
0 0 1 1
32 16 8
0 0 1 1 0 0
Digital Design
Copyright 2007
Frank Vahid
32 is
too much
32 16 8
DONE
answer
12
Digital Design
Copyright 2007
Frank Vahid
Binary Number
23
0 0
32 16
0
8
0
4
0
2
0
1
23
-16
7
0 1
32 16
0
8
0
4
0
2
0
1
7
-4
3
0 1
32 16
0
8
1
4
0
2
0
1
4
-2
1
0 1
32 16
0
8
1
4
1
2
0
1
1
-1
0
0 1
32 16
0
8
1
4
1
2
1
1
13
Binary Number
0
1
3
6 divide by 2
-6
0
insert remainder
Continue
Digital Design
Copyright 2007
Frank Vahid
0
2
0
1
0
1
1 divide by 2
8
-0
1
insert remainder
1
4
0
2
0
1
15
163
162
161
160
bina ry
hex
bina ry
0
1
2
3
4
5
6
7
0000
0001
0010
0011
0100
0101
0110
0111
8
9
A
B
C
D
E
F
1000
1001
1010
1011
1100
1101
1110
1111
Digital Design
Copyright 2007
Frank Vahid
16
1.3
Microprocessors a
common choice to
implement a digital
system
Easy to program
Cheap (as low as
$1)
Available now
p
o
I0
I1
I2
I3
I4
I5
I6
I7
P0
P1
P2
P3
P4
P5
P6
P7
void main()
1
a
{
0
while (1) {
1
P0 = I0 && !I1; b 0
// F = a and !b,
1
F
}
0
}
6:00
7:057:06
9:009:01
Digital Design
Copyright 2007
Frank Vahid
time
17
Microprocessor
Custom
Digital Circuit
Read
0.1
Compress
0.5
Store
0.8
Digital Design
Copyright 2007
Frank Vahid
Image Sensor
(a)
Memory
Image Sensor
Microprocessor
(Read,
Compress,
and Store)
Read
circuit
5+8+11
=24 sec
Compress
circuit
(b)
Store
circuit
Memory
Image Sensor
(c)
Memory
.1+.5+.8
=1.4 sec
Read
circuit
Compress
circuit
Microprocessor
(Store)
.1+.5+1
=1.6 sec
Good
compromise
18
Chapter Summary
Digital systems surround us
Inside computers
Inside huge variety of other electronic devices (embedded
systems)
Digital Design
Copyright 2007
Frank Vahid
19
10