Question: Design of an Arithmetic Logic Unit ( ALU ) projectObjectives: Our objective is to design an 8 - bit ALUAn arithmetic unit that can perform

Design of an Arithmetic Logic Unit (ALU) projectObjectives: Our objective is to design an 8-bit ALUAn arithmetic unit that can perform the following arithmetic operations: Subtraction with borrow Subtraction Addition Addition with carry Decrement Increment Transfer functionA logic unit that can perform the following logic operations: Logical OR Logical AND Logical XOR Logical NOT operation. Shift right Shift leftThe ALU circuit provides eight arithmetic operation, four logic operations, and twoshift operations. Each operation is selected with the five variables S3, S2, S1, S0, andCin. The input carry Cin is used for selecting an arithmetic operation only.Function of ALU
\table[[S3,S2,S1,S0,Cin,Result,Operation],[0,0,0,0,0,A+bar(B),Subtraction with borrow],[0,0,0,0,1,A+bar(B)+1,Subtraction],[0,0,0,1,0,A+B,Addition],[0,0,0,1,1,A+B+1,Addition with carry],[0,0,1,0,0,A-1,Decrement],[0,0,1,0,1,A+1,Increment],[0,0,1,1,0,A,Transfer A],[0,0,1,1,1,B,Transfer B],[0,1,0,0,x,A+B,OR],[0,1,0,1,x,A*B,AND],[0,1,1,0,x,AB,XOR],[0,1,1,1,x,NOTA,Complement A],[1,0,0,x,x,LSRA,Logical Shift Right A],[1,0,1,x,x,LSLA,Logical Shift Left A]]Function of ALU
\table[[S3,S2,S1,S0,Cin,Result,Operation],[0,0,0,0,0,A+bar(B),Subtraction with borrow],[0,0,0,0,1,A+bar(B)+1,Subtraction],[0,0,0,1,0,A+B,Addition],[0,0,0,1,1,A+B+1,Addition with carry],[0,0,1,0,0,A-1,Decrement],[0,0,1,0,1,A+1,Increment],[0,0,1,1,0,A,Transfer A],[0,0,1,1,1,B,Transfer B],[0,1,0,0,x,A+B,OR],[0,1,0,1,x,A*B,AND],[0,1,1,0,x,AB,XOR],[0,1,1,1,x,NOTA,Complement A],[1,0,0,x,x,LSRA,Logical Shift Right A],[1,0,1,x,x,LSLA,Logical Shift Left A]]
Design of an Arithmetic Logic Unit ( ALU )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!