You are on page 1of 4

Department of Electrical & Computer Engineering

North South University

Course Code: CSE332 Lab


Course Name: CSE-332 Computer organization and architecture

Student Name & ID: Mehadi Hasan - 1731160042(Sec-5)


Experiment Name: Design of a 2-bit logic unit

Instructor: Md. Saidur Rahman

Date of Submission: 14 November, 2020


Experiment Name: Design of a 2-bit Logic unit.

Objective:

 In this experiment we will learn to construct a 2-bit logic unit which is actually a part of an ALU.
 We can make it using 4 micro-operations which are AND, OR, XOR and NOT operations.
 We will also learn about Logic micro operations which 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.

Circuit Diagram:
Logic table:

A1 A0 B1 B0 AND1 AND0 OR1 OR0 XOR1 XOR0 NOT NOT


A1 A0

0 0 0 0 0 0 0 0 0 0 1 1

0 0 0 1 0 0 0 1 0 1 1 1

0 0 1 0 0 0 1 0 1 0 1 1

0 0 1 1 0 0 1 1 1 1 1 1

0 1 0 0 0 0 0 1 0 1 1 0

0 1 0 1 0 1 0 1 0 0 1 0

0 1 1 0 0 0 1 1 1 1 1 0

0 1 1 1 0 1 1 1 1 0 1 0

1 0 0 0 0 0 1 0 1 0 0 1

1 0 0 1 0 0 1 1 1 1 0 1

1 0 1 0 1 0 1 0 0 0 0 1

1 0 1 1 1 0 1 1 0 1 0 1

1 1 0 0 0 0 1 1 1 1 0 0

1 1 0 1 1 0 1 1 1 0 0 0

1 1 1 0 1 0 1 1 0 1 0 0

1 1 1 1 1 1 1 1 0 0 0 0

Discussion: We will learn to construct a 2-bit logic unit. Hope we will get expected output and result as
shown on the data table. As it was online class we didn’t face any problem. We can perfectly install the
instrument to get perfect output. We have learned about many new instruments and processes from
the experiment.

You might also like