Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Digital Design
Digital Logic & Processor
aer Experiment
Experiment3 6 18
Monsoon,2016
2008
Programmable 1-bit ALU
X3 VCC S VCC
1A VCC
X2 X4 1X0 EN’
7 1B 4A 7
X1 X5 7
4 1X1 4 4X0
1Q 4 4B
X0 L X6 1Q L 4X1
2A L 4Q
Q S X7 S S
2B 3A 2X0 4Q
1 8 1
Q’ S0 2X1 3X0
5 2Q 6 3B 5
EN’ S1 2Q 3X1
1 Gnd 3Q 7
Gnd S2 Gnd 3Q
A’ + B X7 A⊕B⊕C X7
A’ • B X6 X6
A+B X5 X5
A•B X4 MUX1 Q Y1 A⊕B X4 MUX0 Q Y0
X3 (74LS151) X3 (74LS151)
A’ • B X2 A•B X2
X1 EN’ A+B X1 EN’
A•B X0 0 X0
S2 S1 S0 S2 S1 S0
F1 F0 C F2’ F2 F1 F0 Gnd
B X1 0 X1 1 X1 B X1
Q A •B Q A’•B Q A+B Q A’+B
0 X S B X0 S B X0 S 1 X0 S
A
Fig. 3.3 Boolean Functions of A and B using a quad 2-input Multiplexer
4. Connect the same A and B inputs to the inputs of one of the gates in the XOR chip to
generate A ⊕ B. Generate (A ⊕ B) ⊕ C by applying (A ⊕ B) and C to a second XOR
gate. Verify the logic of these two outputs for all combinations of values of A, B and C.
5. Assemble the complete circuit by adding two 74LS151 chips, used as MUX0 and
MUX1, to the circuit assembled so far, making connections to all the inputs of MUX0 and
MUX1 according to Fig. 3.2. Use a third gate from the XOR chip to generate F2’ (= F2 ⊕
1), providing the Enable input for MUX1.
6. Apply all the combinations of the Function select inputs F2F1F0 one by one and
tabulate the observed outputs Y0 and Y1 for as many combinations of the data inputs A,
B, C as possible. Verify that the tabulated results conform to the ALU functions given in
Table 3.1.