Question: Please create this ALU in VHDL code WITHOUT using SLL or SRL or any Shift Operator classes. With Explanation. Background Many of the operations performed


Please create this ALU in VHDL code WITHOUT using SLL or SRL or any Shift Operator classes.
With Explanation.
Background Many of the operations performed by computers can be broken down into arithmetic or logic operations. It would be difficult, if not impossible, to have to re-implement such operations in software every time a program was written. 'Thus a dedicated piece of hardware, known as an ALU, was created and included in almost every processor since its inception. As shown in Figure[t, the LU (name it alu) is a 6-bit arithmetic unit that implements addition, multiplication, logical, and shifting operations on its operand and outputs the result based on the select statement as shown in Table[1. It has the following entity: - Inputs: sel (4 bits): Selects the desired result. - a (6 bits): The first operand of the arithmetic operation. - b (6 bits): The second operand of the arithmetic operation. - Outputs: - r (6 bits): The result of the arithmetic computation. Notes - The multiplexer can be written directly in the ALU unit. You do not need to create a separate unit for the multiplexer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
