0% found this document useful (0 votes)
4 views5 pages

ALU Online

Uploaded by

ik5155514
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

ALU Online

Uploaded by

ik5155514
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

CSE 3110

Digital System Design Sessional


ALU Online

Time: 30 min

Instruction:

Select your set by last 3 digit of your roll mod 4.

For example, if your roll is 180104200, you should answer the set (200 mod 4) = Set 0.

Please note that you won’t get any marks if you do not answer the correct set.

Please remember that any sort of plagiarism will result in -20 marks without further explanation.
Set-0
Design the following 4-bit ALU (Arithmetic Logic Unit):

S2 S1 S0 Output Function
1 1 0 Ai + 1 + 1 Transfer A with Carry
0 1 0 Ai - Bi Subtract
1 1 1 Ai + Bi Add
1 0 1 Ai I Bi OR
0 0 0 Ai’ Complement A

Submission Procedure:

• Report (PDF File)


o Function table
o Output functions for Xi, Yi, Zi
o Circuit diagram for Xi, Yi, Zi (Hand drawing)

• Proteus implementation (.pdsprj File)


Set-1
Design the following 4-bit ALU (Arithmetic Logic Unit):

S2 S1 S0 Output Function
0 0 0 Ai - Bi - 1 Subtract with Borrow
1 0 1 Ai + 1 + 1 Transfer A with Carry
0 0 1 Ai - 1 Decrement A
0 1 0 Ai’ Complement A
1 1 1 Ai xor Bi XOR

Submission Procedure:

• Report (PDF File)


o Function table
o Output functions for Xi, Yi, Zi
o Circuit diagram for Xi, Yi, Zi (Hand drawing)

• Proteus implementation (.pdsprj File)


Set-2
Design the following 4-bit ALU (Arithmetic Logic Unit):

S2 S1 S0 Output Function
0 1 1 Ai + Bi + 1 Add with Carry
0 0 1 Ai Transfer A
0 1 0 Ai - 1 Decrement A
1 1 0 Ai | Bi OR
1 0 0 Ai xor Bi XOR

Submission Procedure:

• Report (PDF File)


o Function table
o Output functions for Xi, Yi, Zi
o Circuit diagram for Xi, Yi, Zi (Hand drawing)

• Proteus implementation (.pdsprj File)


Set-3
Design the following 4-bit ALU (Arithmetic Logic Unit):

S2 S1 S0 Output Function
0 0 0 Ai Transfer A
0 0 1 Ai – Bi -1 Subtraction with Borrow
1 0 1 Ai + Bi Add
1 1 0 Ai | Bi OR
0 1 1 Ai . Bi AND

Submission Procedure:

• Report (PDF File)


o Function table
o Output functions for Xi, Yi, Zi
o Circuit diagram for Xi, Yi, Zi (Hand drawing)

• Proteus implementation (.pdsprj File)

You might also like