


























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























































































Third Edition
Solutions Manual
Computer System
Architecture
(a) A + AB = A(1 + B) = A (b) AB + AB' = A(B + B') = A (c) A'BC + AC = C(A'B + A) = C(A' + A) (B + A) = (A + B)C (d) A'B + ABC' + ABC = A' B + AB(C' + C) = A'B + AB = B(A' + A) = B
1. (a) AB + A (CD + CD') = AB + AC (D + D') = A (B + C) (b) (BC' + A'D) (AB' + CD')
(a) (A + B)' (A' + B') = (A'B') (AB) = 0 (b) A + A'B + A'B' = A + A' (B + B') = A + A'= 1
1. (a) F = x’y + xyz’ F' = (x + y') (x' + y' + z) = x'y' + xy' + y' + xz + y'z = y' (1 + x' + x + z) + xz = y'+ xz (b) F•F' = (x'y + xyz') (y' + xz) = 0 + 0 + 0 + 0 = 0 (c) F + F' = x'y + xyz' + y' + xz (y + y') = x'y + xy(z' + z) + y' (1 + xz) = x'y + xy + y' = y(x' + x) + y' = y + y' = 1
x y z F 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
(c) F = xy'z + x'y'z + xyz (d) Same as (a) = y'z(x + x') + xz(y + y') = y'z + xz
(a) F = x'z' + w'z (b) = (x' + z) (w' + z')
S = x'y'z + x'yz' + xy'z' + xyz = x'(y'z + yz') + x(y'z' + yz) See Fig. 1. = x'(y ⊕ z) + x(y ⊕ z)' (Exclusive - NDR) = x ⊕ y ⊕ z
x y z F 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
x y z A B C 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
c = z' By inspection
When D = 0; J = 0, K = 1, Q → 0 When D = 1; J = 1, K = 0, Q → 1
See text, Section 1.6 for derivation.
(a) D (^) A = x'y + xA; D (^) B = x'B + xA; z = B
(a) Inverters – 2 pins each 12/2 = 6 gates 7404 (b) 2-input XOR – 3 pins each 12/3 = 4 gates 7486 (c) 3-input OR – 4 pins each 12/4 = 3 gates (d) 4-input AND – 5 pins each 12/5 = 2 gates 7421 (e) 5-input NOR – 6 pins each 12/6 = 2 gates 74260 (f) 8-input NAND – 9 pins 1 gate 7430 (g) JK flip-flop – 6 pins each 12/6 = 2 FFs 74107
2. (a) 74155 – Similar to two decoders as in Fig. 2.2. (b) 74157 – Similar to multiplexers of Fig. 2.5. (c) 74194 – Similar to register of Fig. 2.9. (d) 74163 – Similar to counter of Fig. 2.
When the parallel load input = 1, the clock pulses go through the AND gate and the data inputs are loaded into the register when the parallel load input = 0, the output of the AND gate remains at 0.
2. The buffer gate does not perform logic. It is used for signal amplification of the clock input.
2.
One stage of Register Fig. 2.7 Load Clear D Operation 0 0 Q(t) no change 0 1 0 Clear to 0 1 x I 0 load I (^0)
Function table
2.
Serial transfer: One bit at a time by shifting. Parallel transfer: All bits at the same time. Input serial data by shifting–output data in parallel. Input data with parallel load–output data by shifting.
2.
2.16 (a) 4 ; (b) 9
After the count reaches N – 1 = 1001, the register loads 0000 from inputs.
Address Data lines lines (a) 2K × 16 = 2 11 × 16 11 16 (b) 64K × 8 = 2 16 × 16 16 8 (c) 16M × 32 = 2 24 × 32 24 32 (d) 4G × 64 = 2 32 × 64 32 64
(a) 000011010111 Binary (b) 000 011 010 111 Binary coded octal 0 3 2 7 (d) 0010 0001 0101 Binary coded decimal
(a) 5250 (b) 1753 (c) 020 (d) 1200
(a) (b) (c) (d) 11010 11010 000100 1010100 +10000 +10011 + 010000 + 0101100 1 01010 1 01101 0 010100 1 0000000
3.17 01 ← last two carries → 1 0
(a) (–638) 9362 (b) (–638) 9362 (+785) + 0785 (–185) + 9815 (+147) 0147 (–823) 9177
(a) BCD 1000 0110 0010 0000 (b) XS-3 1011 1001 0101 0011 (c) 2421 1110 1100 0010 0000 (d) Binary 10000110101100 (8192 + 256 + 128 + 32 + 8 + 4)
BCD with BCD with Decimal even parity odd parity 0 00000 10000 1 10001 00001 2 10010 00010 3 00011 10011 4 10100 00100 5 00101 10101 6 00110 10110 7 10111 00111 8 11000 01000 9 01001 11001
y z x = y ⊕ z ABCD
0 0 0 0001, 0010, 1101, 1110
0 1 1
AB = 00 or 11 CD = 01 or 10
AB = 01 or 10 CD = 00 or 11
Same as in Fig. 3.3 but without the complemented circles in the outputs of the gates. P = x ⊕ y ⊕ z Error = x ⊕ y ⊕ z ⊕ P
Always odd number of 1’s
load = T 0 + T 1 + T 2 + T 3
Connect the 4-line common bus to the four inputs of each register. Provide a “load” control input in each register. Provide a clock input for each register.
To transfer from register C to register A: Apply S 1 S 0 = 10 (to select C for the bus.) Enable the load input of A Apply a clock pulse.
T 0 T 1 T 2 T 3 S 1 S 0 R 3 load 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1