Chapter 07
Chapter 07
Exercises
E7.1
(a) 1101.1112 = 123 + 122 +021 +120 +12-1 +12-2 +12-3 = 13.87510
(b) 100.0012 = 122 +021 +020 +02-1 +02-2 +12-3 = 4.12510
E7.3
E7.4
E7.5
E7.6
E7.7
E7.8
First we convert 1910 and -410 to eight-bit twos complement form then we
add the results.
19
00010011
-4
111111100
15
00001111
Notice that we neglect the carry out of the left-most bit.
E7.9
E7.10
E7.11
A B BC
D AB B C (A B )(B C )
(b) Following the steps of part (a) we have
[F (G H ) FG ]
[F (G H ) F G ]
[(F G H )(F G )]
E [F (G H ) FG ] [(F G H )(F G )]
E7.12
AB (A B )
See Figure 7.21 in the book for the logic diagrams.
E7.13
AB
0
0
1
1
0
1
0
1
0
1
1
0
Focusing on the rows in which the result is 1, we can write the SOP
expression
A B A B AB
The corresponding logic diagram is shown in Figure 7.25a in the book.
Focusing on the rows in which the result is 0, we can write the POS
expression
A B (A B )(A B )
The corresponding logic diagram is shown in Figure 7.25b in the book.
E7.14
The truth table is shown in Table 7.7 in the book. Focusing on the rows in
which the result is 1, we can write the SOP expression
A m (3, 6, 7, 8, 9, 12)
F D GR F DGR F DGR FD G R FD G R FDG R
Focusing on the rows in which the result is 0, we can write the POS
expression
A M (0, 1, 2, 4, 5, 10, 11, 13, 14, 15)
(F D G R )(F D G R )(F D G R ) (F D G R )
E7.15
E7.16
(a) A B C D
(b) A B C D
E7.17
E7.18
E7.19
E7.20
E7.21
1. When noise is added to a digital signal, the logic levels can still be
exactly determined, provided that the noise is not too large in amplitude.
Usually, noise cannot be completely removed from an analog signal.
2. Component values in digital circuits do not need to be as precise as in
analog circuits.
(a)*
(b)*
P7.9
P7.10
(a)*
P7.11
(a)*
P7.12
P7.14
(a)*
P7.15
(a)*
(b)*
75 = 01001011
-87 = 10101001
P7.16
(a)*
P7.18*
5.625
21.375
0000
0001
0011
0010
0110
0111
0101
0100
1100
1101
1111
1110
1010
1011
1001
6
1000
One's Complement
Two's Complement
00010111 00011000
(a) * 11101000
P7.19
P7.20
(a)*
(b)*
FA5.616 = 4005.37510
725.38 = 469.37510
P7.21
(a)*
33
-37
-4
P7.27
(a)*
E AB ABC C D
A
B
C
00100001
11011011
11111100
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
1
0
0
0
1
1
1
1
1
1
1
P7.35
(a)*
F A B C A B C A B C
P7.36
(a)*
F (A B C )(A B C )(A B C ) A B C A BC AB C
(b)*
P7.29*
0
0
0
0
1
1
1
1
P7.45*
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
(A + B)(A + C)
0
0
0
1
1
1
1
1
A + BC
0
0
0
1
1
1
1
1
F A B C AB C ABC ABC
m 0,2,5,7
F A B C A B C A B C A B C
M 1,3,4,6
P7.53*
P7.56*
(a)
(b)
P7.59*
S1
0
0
0
0
1
1
1
1
S2
0
0
1
1
0
0
1
1
ST
0
0
1
1
0
0
1
0
0
0
1
0
0
1
1
0
E m 1,6 S1 S2ST S1S2 ST
(c)
Circuit diagram:
(a)
(b)
F BC A CD
(c)
Inverting the map, and writing the minimum SOP expression yields
F AC B C CD . Then applying DeMorgan's laws gives
F (A C )(B C )(C D )
P7.65*
(a)
(b)
F AB C D
(c)
(d) Inverting the map, and writing the minimum SOP expression yields
F A C A D B C B D . Then, applying DeMorgan's laws gives
10
P7.79*
(a) F A BC BD
(b) G A BD BC
(c) H A B C BC D
11
(d)
P7.89*
I D
Q0
1
0
1
1
1
0
0
Q1
Q2
0
0
1
0
0
1
1
0
1
1
1
1
0
1
(repeats)
Thus, the register returns to the initial state after seven shifts.
P7.93*
12
Practice Test
T7.1
(a) 12, (b) 19 (18 is incorrect because it omits the first step, inverting
the variables), (c) 20, (d) 23, (e) 21, (f) 24, (g) 16, (h) 25, (i) 7, (j) 10, (k)
8, (l) 1 (the binary codes for hexadecimal symbols A through F do not
occur in BCD).
T7.2
13
(d) To obtain binary coded decimal, we simply write the binary equivalent
for each decimal digit.
353.87510 = 0011 0101 0011.1000 0111 0101BCD
T7.3
(a) Because the left-most bit is zero, this is a positive number. We simply
convert from binary to decimal:
011000012 = 1 26 + 1 25 + 1 20 = 64 + 32 + 1 = +9710
(b) Because the left-most bit is one, this is a negative number. We form
the two's complement, which is 01000110. Then, we convert from binary
to decimal:
010001102 = 1 26 + 1 22 + 1 21 = 64 + 4 + 2 = +7010
Thus, the decimal equivalent for eight-bit signed two's complement
integer 10111010 is 70.
T7.4.
A
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
D
1
1
0
0
1
0
0
0
14
(c) The map can be covered by two 2-cubes and the minimum SOP
expression is D A B B C .
(d) First, we invert the map to find:
This map can be covered by one 4-cube and one 2-cube and the minimum
SOP expression is D B AC . Applying DeMorgan's laws to this yields
the minimum POS expression D B (A C ) .
T7.5
15
(b) The map can be covered by two 2-cubes and the minimum SOP
expression is G B1 B2 B8 B1B2B8 .
(c) First, we invert the map to find:
This map can be covered by one 8-cube and two 4-cubes and the minimum
SOP expression is G B1 B2 B8 B2B8 . Applying DeMorgan's laws to this
yields the minimum POS expression G B1 (B2 B8 )(B2 B8 ) .
16
T7.6
Clearly, the next value for Q0 is the NAND combination of the current
values of Q1 and Q2. The next value for Q2 is the present value for Q1.
Similarly, the next value for Q1 is the present value for Q0. Thus, the
successive states (Q0 Q1 Q2) of the shift register are:
100 (initial state)
110
111
011
001
100
111
The state of the register returns to its initial state after 5 shifts.
17