Professional Documents
Culture Documents
DLD LAB Experiment 3 2014
DLD LAB Experiment 3 2014
Experiment 3
Objectives
After completing this experiment, you will be able to:
- Build a 4-bit magnitude comparator using 74LS86
- Design and test Four bit parity generator/checker using 74LS86
- Understand the operation of priority encoder 74LS148 (8-to-3)
- Understand the operation of decoder 74LS139 (1-to-4)
- Understand the operation of decoder/demultiplexer 74LS138 (3-to-8)
Materials Needed
- 2 INPUT-NAND GATE: IC 74LS00.
- Four-Bit Magnitude Comparators: IC 74LS85
- 8-to-3 Priority Encoder: IC 74LS148
- 3-to-8 Decoder/Demultiplexer: IC 74LS138
- 2-to-4 Decoder/Demultiplexer IC 74LS139
For further investigation:
Materials to be determined by students.
Presentation:
On Tuesdays (Group1: P1, Group2: P2, Group3: P3, Group4: P4, Group5: P5)
On Thursdays (Group1: P1, Group2: P2, Group3: P3, Group4: P4, Group5: P5)
Procedures
TN Fall 2012 1
COMPUTER SCIENCE & ENGINEERING MSI Combinational Logic (part 1)
2
3 A < B (ALTBI)
4 A = B (AEQBI)
A > B (AGTBI)
10
12 A0
A 13 A1
A2
15
A3 7
A < B (ALTBO) 6
A = B (AEQBO) 5
A >B (AGTBO)
9
11 B0
B1
B 14
1 B2
B3
74LS85
TN Fall 2012 2
COMPUTER SCIENCE & ENGINEERING MSI Combinational Logic (part 1)
10 9
11 D0 A0 7
12 D1 A1 6
13 D2 A2
D3 LED_DISPLAY
1
2 D4
3 D5 14
4 D6 GS LED
D7
5 15
SW9 EI EO LED
74LS148
The outputs are connected to LED display to determine the logic levels.
Choose the input data D0 D7 by switches in the order from SW0 to SW7.
Control EI by using switch.
Observe the results and fulfill the truth table of 74LS148.
TN Fall 2012 3
COMPUTER SCIENCE & ENGINEERING MSI Combinational Logic (part 1)
Input Output
EI D0 D1 D2 D3 D4 D5 D6 D7 GS A2 A1 A0 E0
1 X X X X X X X X
0 1 1 1 1 1 1 1 1
0 X X X X X X X 0
0 X X X X X X 0 1
0 X X X X X 0 1 1
0 X X X X 0 1 1 1
0 X X X 0 1 1 1 1
0 X X 0 1 1 1 1 1
0 X 0 1 1 1 1 1 1
0 0 1 1 1 1 1 1 1
Priority encoder:
Let’s EI equal to 0, how are the outputs A2, A1, A0 in the following cases?
A2 A1 A0
Case 1:
I3 = I2 = I1 = 0
I7 = I6 = I5 = I4 = I0 = 1
Case 2:
I7 = I2 = 0.
I6 = I5 = I4 = I3 = I1= I0 =1
Case 3:
All 8 inputs are equal to 0.
Make comment on results
74LS139
Inputs
Contro Data Outputs
l
G B A Y0 Y1 Y2 Y3
0 0 0
TN Fall 2012 4
COMPUTER SCIENCE & ENGINEERING MSI Combinational Logic (part 1)
0 0 1
0 1 0
0 1 1
1 X X
TN Fall 2012 5