


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
it is solution manual for digital electronics book marris mano.
Typology: Study notes
Limited-time offer
Uploaded on 02/06/2018
2.5
(4)2 documents
1 / 26
This page cannot be seen from the preview
Don't miss anything!
On special offer
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012,
rev 02/14/
1.8 (a) Results of repeated division by 2 (quotients are followed by remainders): (b) Results of repeated division by 16:
(b) 1800 โ 01800 โ 9 8199 (9s comp) โ 98200 (10 comp)
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, (c) 4,361 โ 04361 โ 95638 (9s comp) โ 95639 (10s comp) 2043 โ 4361 = 02043 + 9 5639 = 97682 (Negative) Magnitude: 2318 Result: 2043 โ 6152 = - 2318 (d) 745 โ 00745 โ 99254 (9s comp) โ 99255 (10s comp) 1631 - 745 = 01631 + 99255 = 0886 (Positive) Result: 1631 โ 745 = 886 1.18 Note: Consider sign extension with 2s complement arithmetic. (a) 0_ 10010 ( b) 0_ 1s comp: 1_ 01101 1s comp: 1 011001 with sign extension 2 s comp: 1 01110 2s comp: 1_ 0_ 10011 0_ 100010 Diff: 0_ 00001 (Positive) 1 111100 sign bit indicates that the result is negative Check:19-18 = +1 0_000011 1 s complement 0_000100 2s complement 000100 magnitude Result: - 4 Check: 34 - 38 = - 4 (c) 0_110101 ( d ) 0_0 10101 1s comp: 1_001010 1s comp: 1 101010 with sign extension 2s comp: 1 _ 001011 2s comp: 1_ 101011 0_ 001001 0_ Diff: 1 _ 010100 (negative) 0 _ 010011 sign bit indicates that the result is positive 0_ 101011 ( 1 s comp) Result: 19 10 0_10110 0 (2s complement) Check: 40 โ 21 = (^1910) 101100 (magnitude)
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, 1.26 6,248 9s Comp: 3, 2421 code: 0011 _ 0111 0101 0001 1s comp c: 1001 _ 1101 _ 1011 _0001 (2421 code alternative #1) 6,248 2421 0110_0010_0100_1110 (2421 code alternative #2) 1s comp c 1001_1101_1011_0001 Match
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, 1.27 For a deck with 52 cards, we need 6 bits ( 25 = 32 < 52 < 64 = 2^6 ). Let the msb's select the suit (e.g., diamonds, hearts, clubs, spades are encoded respectively as 00, 01, 10, and 11. The remaining four bits select the "number" of the card. Example: 0001 (ace) through 1011 (9), plus 101 through 1100 (jack, queen, king). This a jack of spades might be coded as 11_1010. (Note: only 52 out of 64 patterns are used.) 1.28 G (dot) (space) B o o l e 1 1000111_11101111_01101000_01101110_00100000_11000100_11101111_
1. 29 Steve Jobs 1.30 73 F4 E5 76 E5 4A EF 62 73 73: 0 _ 111 _0011 s F4: 1_111_0100 t E5: 1_110_0101 e 76: 0_111_0110 v E5: 1_110_0101 e 4A: 0_100_1010 j EF: 1_110_1111 o 62: 0_110_0010 b 73: 0_111_0011 s 1. 31 62 + 32 = 94 printing characters 1. 32 bit 6 from the right 1. 33 (a) 897 (b) 564 (c) 871 (d) 2, 1.3 4 ASCII for decimal digits with even parity: (0): 00110000 (1): 10110001 (2): 10110010 (3): 00110011 (4): 10110100 (5): 00110101 (6): 00110110 (7): 10110111 (8): 10111000 (9): 00111001 1.35 (a) a b c f g a b c f g 1. a b f g a b f g
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, (b) x'yz + xz = (x'y + x)z = z(x + x')(x + y) = z(x + y) (c) (x + y)'(x' + y') = x'y'(x' + y') = x'y' (d) xy + x(wz + wz') = x(y +wz + wz') = x(w + y) (e) (BC' + A'D)(AB' + CD') = BC'AB' + BC'CD' + A'DAB' + A'DCD' = 0 (f) (a' + c')(a + b' + c') = a'a + a'b' + a'c' + c'a + c'b' + c'c' = a'b' + a'c' + ac' + b'c' = c' + b'(a' + c') = c' + b'c' + a'b' = c' + a'b'
2. 4 (a) A'C' + ABC + AC' = C' + ABC = (C + C')(C' + AB) = AB + C' (b) (x'y' + z)' + z + xy + wz = (x'y')'z' + z + xy + wz =[ (x + y)z' + z] + xy + wz = = (z + z')(z + x + y) + xy + wz = z + wz + x + xy + y = z(1 + w) + x(1 + y) + y = x + y + z (c) A'B(D' + C'D) + B(A + A'CD) = B(A'D' + A'C'D + A + A'CD) = B(A'D' + A + A'D(C + C') = B(A + A'(D' + D)) = B(A + A') = B (d) (A' + C)(A' + C')(A + B + C'D) = (A' + CC')(A + B + C'D) = A'(A + B + C'D) = AA' + A'B + A'C'D = A'(B + C'D) (e) ABC'D + A'BD + ABCD = AB(C + C')D + A'BD = ABD + A'BD = BD 2.5 (a) x y F Fsimplified (b) x y F Fsimplified (c)
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, x y z Fsimplified F (d) B F Fsimplified A 0 (e) x y z Fsimplified F (f)
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, (d) w x y z Fsimplified F (e) A B C D Fsimplified = 0 F (f) w x y z Fsimplified F 2.7 (a) A B C D Fsimplified F
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, (b) w x y z Fsimplified F (c) A B C D Fsimplified F (d) A B C D Fsimplified F
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, (a) A AND B = 1010_ (b ) A OR B = 1011_1 101 (c) A XOR B = 0001_ (d) NOT A = 0100_ (e) NOT B = 0101_ 2.13 (a) u x y Y = [(u + x')(y' + z)] z (u + x') (y' + z) (b) u x y Y = (u xor y)' + x (u xor y)' x (c) u x y Y = (u'+ x')(y + z') z (u'+ x') (y + z') (d) u x y Y = u(x xor z) + y' z u(x xor z) y' (e) u x y Y = u + yz +uxy z (^) u yz uxy (f)
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, u x y Y = u + x + x'(u + y') x'(u + y') (u + y')
2. 14 (a) x y F =xy + x'y' + y'z z (b) x y F = xy + x'y' + y'z = ( x' + y' )' + ( x + y )' + ( y + z' )' z (c) x y F = xy + x'y' + y'z = [(xy)' (x'y')' (y'z)']' z (d) x y F = xy + x'y' + y'z = [(xy)' (x'y')' (y'z)']' z
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012,
2. 17 (a) F = (b + cd)(c + bd) bc + bd + cd + bcd = ฮฃ (3, 5, 6, 7, 11, 14, 15) F' = ฮฃ (0, 1, 2, 4, 8, 9, 10, 12, 13) F = ฮ (0, 1, 2, 4, 8, 9, 10, 12, 13) a b c d F 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 (b) (cd + b'c + bd')(b + d) = bcd + bd' + cd + b'cd = cd + bd' = ฮฃ (3, 4, 7, 11, 12,14, 15) = ฮ (0, 1, 2, 5, 6, 8, 9, 10, 13) a b c d F 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 (c) (c' + d)(b + c') = bc' + c' + bd + c'd = (c' + bd) = ฮฃ (0, 1, 4, 5, 7, 8, 12, 13, 15) F = ฮ (2, 3, 6, 9, 10, 11, 14)
Digital Design With An Introduction to the Verilog HDL โ Solution Manual. M. Mano. M.D. Ciletti, Copyright 2012, (d) bd' + acd' + ab'c + a'c' = ฮฃ (0, 1, 4, 5, 10, 11, 14) F' = ฮฃ (2, 3, 6, 7, 8, 9, 12, 13, 15) F = ฮ (02, 3, 6, 7, 8, 12, 13, 15) a b c d F 0 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0