Question: COMPUTER ARCHITECTURE. Can you provide VHDL code with some test cases please 1. Requirement Design a 32-bit ALU which can perform arithmetic and logic operations:
COMPUTER ARCHITECTURE. Can you provide VHDL code with some test cases please



1. Requirement Design a 32-bit ALU which can perform arithmetic and logic operations: The design has two 32-bit inputs, input A and input B: they are unsigned binary number The design must be able to perform: Addition, increment, decrement and transfer (arithmetic operations) AND, OR, NOT, XOR (logical operations) Right shift, left shift (shift operations) The design must have 4-bit select line called Operation Select, which would direct the unit as to which operation to perform The unit has a Carry-in and also a Carry-out. The block diagram of this ALU is as shown below: Reg_A(31:0) Reg_B(31:0) Op_Sel(3:0) ALU _Out(31:0) 32-Bit ALU Carry Out 1. Requirement Design a 32-bit ALU which can perform arithmetic and logic operations: The design has two 32-bit inputs, input A and input B: they are unsigned binary number The design must be able to perform: Addition, increment, decrement and transfer (arithmetic operations) AND, OR, NOT, XOR (logical operations) Right shift, left shift (shift operations) The design must have 4-bit select line called Operation Select, which would direct the unit as to which operation to perform The unit has a Carry-in and also a Carry-out. The block diagram of this ALU is as shown below: Reg_A(31:0) Reg_B(31:0) Op_Sel(3:0) ALU _Out(31:0) 32-Bit ALU Carry Out
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
