Presentation is loading. Please wait.

Presentation is loading. Please wait.

CDA 3100 Recitation Week 10. Design a 4-bit encoder: Has four input bits (I3, I2, I1, I0) and two output bits (O1, O0) If input bits are 1xxx, the output.

Similar presentations


Presentation on theme: "CDA 3100 Recitation Week 10. Design a 4-bit encoder: Has four input bits (I3, I2, I1, I0) and two output bits (O1, O0) If input bits are 1xxx, the output."— Presentation transcript:

1 CDA 3100 Recitation Week 10

2 Design a 4-bit encoder: Has four input bits (I3, I2, I1, I0) and two output bits (O1, O0) If input bits are 1xxx, the output is 11 If input bits are 01xx, the output is 10 If input bits are 001x, the output is 01 If the input bits are 0001, the output is 00

3 Design 4-bit encoder: Truth Table I3I2I1I0O1O0 0000XX 000100 001001 001101 010010 010110 011010 011110 100011 100111 101011 101111 110011 110111 111011 111111

4 Design 4-bit encoder: K-Map for O1 00011110 00X111 010111 110111 100111 I3 I2 I1 I0 O1 = I3 + I2

5 Design 4-bit encoder: K-Map for O0 00011110 00X011 010011 111011 101011 I3 I2 I1 I0 O0 = I3 + (~I2 * I1)

6 Design 4-bit encoder: Circuit

7 Design a circuit: Treat two 2-bit inputs, X and Y, as unsigned binary numbers Write logic functions that are true if and only if X < Y

8 Design a circuit: Truth Table X1X0Y1Y0O 00000 00011 00101 00111 01000 01010 01101 01111 10000 10010 10100 10111 11000 11010 11100 11110

9 Design a circuit: K-Map 00011110 00 011 11111 1011 X1 X0 Y1 Y0 O = (Y1 * ~X1) + (~X1 * ~X0 * Y0) + (~X0 * Y1 * Y0)

10 Design a circuit: Circuit


Download ppt "CDA 3100 Recitation Week 10. Design a 4-bit encoder: Has four input bits (I3, I2, I1, I0) and two output bits (O1, O0) If input bits are 1xxx, the output."

Similar presentations


Ads by Google