Docsity

Introduction to Logic Design - Solved Assignment 5 | ECE 130, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 130 HW#5 โ€“ Due Tuesday, March 23
1. Consider the following truth table where the four-bit number A (A3, A2, A1, A0) is
input and the four-bit number X (X3, X2, X1, X0) is output:
A3 A2 A1 A0 X3 X2 X1 X0
0 0 0 0 1 1 1 1
0 0 0 1 1 1 0 0
0 0 1 0 1 0 0 1
0 0 1 1 0 1 1 0
0 1 0 0 0 1 0 1
0 1 0 1 0 0 1 1
0 1 1 0 0 0 1 0
0 1 1 1 0 0 1 0
1 0 0 0 0 0 0 1
1 0 0 1 0 0 0 1
1 0 1 0 0 0 0 1
1 0 1 1 0 0 0 1
1 1 0 0 0 0 0 0
1 1 0 1 0 0 0 0
1 1 1 0 0 0 0 0
1 1 1 1 0 0 0 0
a. Write down the correct functional representation for each of the four outputs in the
canonical sigma notation:
X3 ( A3, A2, A1, A0 ) = ฮฃ( 0, 1, 2 )
X2 ( A3, A2, A1, A0 ) = ฮฃ( 0, 1, 3, 4 )
X1 ( A3, A2, A1, A0 ) = ฮฃ( 0, 3, 5, 6, 7 )
X0 ( A3, A2, A1, A0 ) = ฮฃ( 0, 2, 4, 5, 8, 9, 10, 11 )
b. Write down the correct functional representation for each of the four outputs in the
canonical pi notation:
X3 ( A3, A2, A1, A0 ) = ฮ ( 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 )
X2 ( A3, A2, A1, A0 ) = ฮ  ( 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 )
X1 ( A3, A2, A1, A0 ) = ฮ  ( 1, 2, 4, 8, 9, 10, 11, 12, 13, 14, 15 )
X0 ( A3, A2, A1, A0 ) = ฮ  ( 1, 3, 6, 7, 12, 13, 14, 15 )
pf3

Partial preview of the text

Download Introduction to Logic Design - Solved Assignment 5 | ECE 130 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 130 HW#5 โ€“ Due Tuesday, March 23

  1. Consider the following truth table where the four-bit number A (A3, A2, A1, A0) is input and the four-bit number X (X3, X2, X1, X0) is output:

A3 A2 A1 A0 X3 X2 X1 X

a. Write down the correct functional representation for each of the four outputs in the canonical sigma notation:

X3 ( A3, A2, A1, A0 ) = ฮฃ( 0, 1, 2 )

X2 ( A3, A2, A1, A0 ) = ฮฃ( 0, 1, 3, 4 )

X1 ( A3, A2, A1, A0 ) = ฮฃ( 0, 3, 5, 6, 7 )

X0 ( A3, A2, A1, A0 ) = ฮฃ( 0, 2, 4, 5, 8, 9, 10, 11 )

b. Write down the correct functional representation for each of the four outputs in the canonical pi notation:

X3 ( A3, A2, A1, A0 ) = ฮ ( 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 )

X2 ( A3, A2, A1, A0 ) = ฮ  ( 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 )

X1 ( A3, A2, A1, A0 ) = ฮ  ( 1, 2, 4, 8, 9, 10, 11, 12, 13, 14, 15 )

X0 ( A3, A2, A1, A0 ) = ฮ  ( 1, 3, 6, 7, 12, 13, 14, 15 )

c. Expand the canonical sigma notation for X3 into a canonical sum-of-products equation (do not attempt to simplify)

X3 = A3โ€™ A2โ€™ A1โ€™ A0โ€™ + A3โ€™ A2โ€™ A1โ€™ A0 + A3โ€™ A2โ€™ A1 A0โ€™

d. Expand the canonical pi notation for X0 into a canonical product-of-sums equation (do not attempt to simplify)

X0 = ( A3+A2+A1โ€™+A0 )( A3+A2+A1โ€™+A0โ€™ )( A3+A2โ€™+A1โ€™+A0 )( A3+A2โ€™+A1โ€™+A0โ€™) ( A3โ€™+A2โ€™+A1+A0 )( A3โ€™+A2โ€™+A1+A0โ€™ )( A3โ€™+A2โ€™+A1โ€™+A0 )( A3โ€™+A2โ€™+A1โ€™+A0โ€™ )

e. Using Boolean algebra, simplify the canonical sum-of-products equation for X3 (from part c) into a sum-of-products equation that has the fewest possible literals and operators. (Note that there may be a more simplified form that is not sum-of-products.)

X3 = A3โ€™ A2โ€™ A1โ€™ A0โ€™ + A3โ€™ A2โ€™ A1โ€™ A0 + A3โ€™ A2โ€™ A1 A0โ€™

using T7: (A3โ€™ A2โ€™ A1โ€™ A0โ€™ + A3โ€™ A2โ€™ A1โ€™ A0 ) + A3โ€™ A2โ€™ A1 A0โ€™ using T8: (A3โ€™ A2โ€™ A1โ€™ ( A0โ€™ + A0 ) ) + A3โ€™ A2โ€™ A1 A0โ€™ using T5: (A3โ€™ A2โ€™ A1โ€™ ( 1 ) ) + A3โ€™ A2โ€™ A1 A0โ€™ using T1: (A3โ€™ A2โ€™ A1โ€™) + A3โ€™ A2โ€™ A1 A0โ€™ using T7: A3โ€™ A2โ€™ A1โ€™ + A3โ€™ A2โ€™ A1 A0โ€™

according to k-map: A1A0\A3A2 00 01 11 10 00 1 0 0 0 01 1 0 0 0 11 0 0 0 0 10 1 0 0 0