372 5
372 5
372 5
Background Information:
The basic blocks of a computer are central processing unit (CPU), memory unit, and input/output unit. CPU
of the computer is basically the same as the brain of a human being. It contains all the registers, control
unit and the arithmetic logic unit (ALU). ALU considered as the most important subsystem in a digital
computer. An arithmetic logic unit (ALU) is a digital circuit which performs arithmetic, logic and shift
operations on two n-bit digital words. Functionally, an ALU can be divided up into three circuits: the
arithmetic circuit, the logic circuit and the shift circuit.
select
S0
Cin
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
Input Y
B
B
B'
B'
0
0
1
1
Output D
D = A + Y + Cin
A+B
A+B+1
A + B'
AB
A
A+1
A1
A
Micro operation
Add
Add with Carry
Subtract with borrow
Subtract
Transfer A
Increment A by 1
Decrement A by 1
Transfer A
Equipments:
1.
2.
3.
4.
Logic Trainer.
5. Connection leads.
Procedures:
1.
Bring all IC chips necessary to build the circuit from the IC cabinet.
2.
3.
Derive the wiring diagram for the logic diagram shown in Figure 5-1.
4.
5.
6.
7.
Use the connection leads to connect the circuit according to the derived wiring diagram.
8.
Once all connections have been done, turn on the power switch of the IC trainer .
9.
Verify the circuit function for all micro operations listed in table 5-1.
10. After finishing the experiment, turn off the power switch, disconnect the wires, and take out the IC
chips from the trainer.
S0
0
1
0
1
Output
AB
A+B
AB
A'
Operation
AND
OR
XOR
Complement
Equipments:
1.
2.
3.
4.
5.
6.
Logic Trainer.
7.
Connection leads.
Procedures:
1.
Bring all IC chips necessary to build the circuit from the IC cabinet.
2.
Derive the wiring diagram for the logic diagram shown in Figure 5-2.
3.
4.
5.
6.
Use the connection leads to connect the circuit according to the derived wiring diagram.
7.
Once all connections have been done, turn on the power switch of the IC trainer.
8.
9.
After finishing the experiment, turn off the power switch, disconnect the wires, and take out the IC
chips from the trainer.
H3
IR
A2
H3
H2
H1
A3
A2
A1
A0
H0
A1
IL
Equipments:
1.
2.
Logic Trainer.
3.
Connection leads.
Procedures:
1.
Bring the IC chip necessary to build the circuit from the IC cabinet.
2.
Derive the wiring diagram for the logic diagram shown in Figure 5-3.
3.
4.
5.
6.
Use the connection leads to connect the circuit according to the derived wiring diagram.
7.
Once all connections have been done, turn on the power switch of the IC trainer.
8.
9.
After finishing the experiment, turn off the power switch, disconnect the wires, take out the IC
chip from the trainer, put back everything you have used, close IC trainer and clean your table.