Docsity

Homework 3 with Solution for Background Study Digital Logic | ECE 349, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 349 Homework Assignment #3 Solutions
1. For the function F(a, b, c, d) = Pm(0,1,4,6,7,9,11,13,14) + Pd(2,5,12), list all of
the prime implicants and indicate which of these are essential prime implicants.
Prime implicants: a0b, ab0d, bd0, c0d, a0c0, bc0, a0d0
Essential prime implicants: a0b, ab0d, bd0
2. Use K-maps to find a minimal sum-of-products and a minimal product-of-sums for
f(a, b, c) = Pm(0,1,2,4).
Minimal SOP: f=b0c0+a0b0+a0c0
Minimal POS: f= (a0+b0)(b0+c0)(a0+c0)
3. Use a K-map to find a minimal sum-of-products for:
f=a0b0+cd0+abc +a0b0cd0+abc0d+a0c0d0.
f=a0b0+cd0+a0d0+abd
4. Find two different minimal sum-of-product expressions for:
f(a, b, c, d) = Pm(3,7,11,12,13,15) + Pd(5,8,9,14).
f=cd +ab &f=cd +ac0
5. Find a minimal product-of-sums expression for the function of Problem 4.
f= (c0+d)(a+c)
6. Find a minimal product-of-sums expression for:
f(a, b, c, d) = QM(0,2,10,11,12,14,15) ·QD(5,7).
f= (a+b+d)(a0+b0+d)(a0+c0)
7. Assuming that the inputs abcd = 0101, abcd = 1001, abcd = 1011 never occur, find a
simplified expression for F=a0bc0d+a0b0d+a0cd +abd +abc.
F=d+abc
8. A logic network realizes the function F(a, b, c, d) = a0b0+a0cd +ac0d+ab0d0. Assuming
that a=cnever occurs when b=d= 1, find a simplified expression for F.
F=b0d0+c0d+a0d
9. Find the essential prime implicants for:
F(a, b, c, d, e) = Pm(0,3,4,5,6,7,8,12,13,14,16,21,23,24,29,31).
c0d0e0, a0ce0, ace, a0b0de
10. Find the minimum sum-of-products expression for:
F(a, b, c, d, e) = Pm(0,2,6,7,8,10,11,12,13,14,16,19,29,30) + Pd(4,9,21).
F=a0e0+a0bc0+bcde0+bcd0e+a0b0cd +b0c0d0e0+ab0c0de
11. (Optional 2 Points) After completing the design and fabrication of a digital system,
a designer finds that one more inverter is required. However, the only spare gates in
the system are a 3-input OR, a 2-input AND, and a 2-input XOR. How should the
designer realize the inverter function without adding another IC?
pf2

Partial preview of the text

Download Homework 3 with Solution for Background Study Digital Logic | ECE 349 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 349 Homework Assignment #3 Solutions

  1. For the function F (a, b, c, d) =

∑ m(0, 1 , 4 , 6 , 7 , 9 , 11 , 13 , 14) +

∑ d(2, 5 , 12), list all of the prime implicants and indicate which of these are essential prime implicants. Prime implicants: a′b, ab′d, bd′, c′d, a′c′, bc′, a′d′ Essential prime implicants: a′b, ab′d, bd′

  1. Use K-maps to find a minimal sum-of-products and a minimal product-of-sums for f (a, b, c) =

∑ m(0, 1 , 2 , 4). Minimal SOP: f = b′c′^ + a′b′^ + a′c′ Minimal POS: f = (a′^ + b′)(b′^ + c′)(a′^ + c′)

  1. Use a K-map to find a minimal sum-of-products for: f = a′b′^ + cd′^ + abc + a′b′cd′^ + abc′d + a′c′d′. f = a′b′^ + cd′^ + a′d′^ + abd
  2. Find two different minimal sum-of-product expressions for: f (a, b, c, d) =

∑ m(3, 7 , 11 , 12 , 13 , 15) +

∑ d(5, 8 , 9 , 14). f = cd + ab & f = cd + ac′

  1. Find a minimal product-of-sums expression for the function of Problem 4. f = (c′^ + d)(a + c)
  2. Find a minimal product-of-sums expression for: f (a, b, c, d) =

∏ M(0, 2 , 10 , 11 , 12 , 14 , 15) ·

∏ D(5, 7). f = (a + b + d)(a′^ + b′^ + d)(a′^ + c′)

  1. Assuming that the inputs abcd = 0101, abcd = 1001, abcd = 1011 never occur, find a simplified expression for F = a′bc′d + a′b′d + a′cd + abd + abc. F = d + abc
  2. A logic network realizes the function F (a, b, c, d) = a′b′^ + a′cd + ac′d + ab′d′. Assuming that a = c never occurs when b = d = 1, find a simplified expression for F. F = b′d′^ + c′d + a′d
  3. Find the essential prime implicants for: F (a, b, c, d, e) =

∑ m(0, 3 , 4 , 5 , 6 , 7 , 8 , 12 , 13 , 14 , 16 , 21 , 23 , 24 , 29 , 31). c′d′e′, a′ce′, ace, a′b′de

  1. Find the minimum sum-of-products expression for: F (a, b, c, d, e) =

∑ m(0, 2 , 6 , 7 , 8 , 10 , 11 , 12 , 13 , 14 , 16 , 19 , 29 , 30) +

∑ d(4, 9 , 21). F = a′e′^ + a′bc′^ + bcde′^ + bcd′e + a′b′cd + b′c′d′e′^ + ab′c′de

  1. (Optional 2 Points) After completing the design and fabrication of a digital system, a designer finds that one more inverter is required. However, the only spare gates in the system are a 3-input OR, a 2-input AND, and a 2-input XOR. How should the designer realize the inverter function without adding another IC?

There is no way to use an OR gate or an AND gate as an inverter. However, an XOR gate can be used as an inverter by tying the signal to be inverted to both of the XOR inputs. Alternatively, one of the XOR inputs could be tied to VCC and the signal to be inverted would be tied to the other input. The latter method is preferred when speed is critical or when the signal to be inverted is fanout limited.