Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Assignment 2

` Digital System Design Lab

In this assignment, we are going to design an arithmetic and logic unit (ALU). An ALU is a combinational
circuit, capable of performing arithmetic and logic operations on a pair of n-bit operands. For this
assignment, we are going to design an ALU which can perform 8 operations on a pair of 4-bit operands.
The functions performed by the ALU will be selected by means of 3 selection lines. SAMPLE List of
operations: (Do not solve this. Solve the one assigned for your group) [You need to show the zero flag
(Z), carry flag(C), Overflow flag (V) and Sign flag(S)]

S2 S1 S0 operation
0 0 0 Transfer A
0 0 1 Addition(A+B)
0 1 0 increment(A+1)
0 1 1 Add with carry(A+B+1)
1 0 0 OR(A or B)
1 0 1 XOR(A xor B)
1 1 0 Transfer A

Marks Distribution

Report 15
Software 20
Viva 15

Total 50

Report writing instructions:


There will be following subsections in your report:
Problem definition:
Describe the problem we are trying to solve.

Function Derivation:
Show the derivation of function for full adder which I Showed in the class and the derivation of
function for X and Y which are inputs to your full adder in your solution
Truth Table:
For each operation show output for at least two inputs.

Circuit diagram:
Show the circuit diagram of your solution

Discussion:
Discuss the problems you faced during simulation

You might also like