ECE 371 - LAB 5 - Encoder and Decoder
ECE 371 - LAB 5 - Encoder and Decoder
Lab 5
ENCODER AND DECODER
OBJECTIVES
COMPONENTS REQUIRED
After completing this experiment you will be able to:
• Design and construct encoder and decoder
• Verify their truth tables using logic gates
COMPONENTS REQUIRED
• Two 7410, 3 I/P NAND gate
• Three 7432, 2 I/P OR gate
• 7404 hex inverter
TRUTH TABLE
INPUT OUTPUT
Y1 Y2 Y3 Y4 Y5 Y6 Y7 A B C
1 0 0 0 0 0 0 0 0 1 ✓
0 1 0 0 0 0 0 0 1 0 ✓
0 0 1 0 0 0 0 0 1 1 ✓
0 0 0 1 0 0 0 1 0 0 ✓
0 0 0 0 1 0 0 1 0 1 ✓
0 0 0 0 0 1 0 1 1 0 ✓
0 0 0 0 0 0 1 1 1 1 ✓
VERIFYING TRUTH TABLE:
LOGIC DIAGRAM FOR DECODER
TRUTH TABLE
INPUT OUTPUT
E A B D0 D1 D2 D3
1 0 0 1 1 1 1 ✓
0 0 0 0 1 1 1 ✓
0 0 1 1 0 1 1 ✓
0 1 0 1 1 1 1 ✓
0 1 1 1 1 0 0 ✓
VERIFYING TRUTH TABLE:
REVIEW QUESTIONS