Lab 01 Cse 332
Lab 01 Cse 332
Lab 01 Cse 332
Remarks:
Exp: Lab 01 – Design a 2 Bit Logic Unit
Objectives:
• To design and implement a 2-bit logic unit, a part of an ALU, using AND IC, OR IC,
Equipment List:
2. AND IC(7408)
3. OR IC(7432)
4. XOR IC(7486)
5. NOT IC(7404)
6. 4:1 Multiplexer
Theory:
In this experiment we constructed a 2-bit logic unit. This 2-bit logic unit is actually a part of an
ALU. This logic unit have 4 micro-operations which are AND, OR, XOR and NOT operations.
Logic micro operations are very useful for manipulating individual bits or a portion of a word
stored in a register. They can be used to change bit values, delete a group of bits or insert a new
set of bits in a register. So, we designed a 2-bit logic unit that have two outputs which is one output
an ALU. This logic unit have 4 micro-operations which are AND, OR, XOR and NOT operations.
At first, we have designed the AND IC, OR IC, XOR IC, NOT IC and 4:1 Multiplexer using the
gates. Then we used these IC to implement a 2 Bit Logic Unit. Logic micro operations are very
useful for manipulating individual bits or a portion of a word stored in a register. This multiplexer
has two selection bits and also four input and one output. We need two multiplexers. By using the
selection bits we have gathered the output of connected ICs. In this design, it has two outputs
which are one output for each of the 2 bits. We have simulated the circuit in logisim and compared
the results with the truth table. We have found out that our simulation worked properly and
produced desired results. Changing the input of S2 and S1 input we can add, subtract,
multiplication and division.