Download as pdf or txt
Download as pdf or txt
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 Arithmetic unit

Instructor: Md. Saidur Rahman

Date of Submission: 16 November, 2020


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

Objective:

 Learn to construct a 2-bit arithmetic unit which is a part of an ALU.


 Learn to use the arithmetic unit to add two 2 bit along with any carry out.
 Learn to use the arithmetic unit to subtract two 2 bit inputs along with any borrow out.
 Learn to use the arithmetic unit for increment of the inputs.
 Learn to use the arithmetic unit for decrement of the inputs
 Learn to use the arithmetic unit for transfer any of the inputs.

Circuit Diagram:
Logic table:

S1 S0 Cin A0 A1 B1 B0 D1 D0 Cout Microoperation

0 0 0 0 0 0 1 0 1 0 Add

0 0 1 0 1 0 1 0 0 1 Add with Carry

0 1 0 1 0 0 0 0 1 0 Subtract with Borrow

0 1 1 1 0 1 1 1 0 0 Subtract

1 0 0 1 1 0 1 1 1 0 Transfer A

1 0 1 0 1 1 0 1 1 0 Increment A

1 1 0 1 1 0 0 1 0 0 Decrement A

1 1 1 0 1 0 0 1 0 1 Transfer A

Discussion: We learn to construct a 2-bit Arithmetic 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