Question: Q2) (10 pts] 4-bits ALU Write a VHDL code to design 4-bits simple ALU to perform the operations as described Synthesize and upload your code
Q2) (10 pts] 4-bits ALU Write a VHDL code to design 4-bits simple ALU to perform the operations as described Synthesize and upload your code to the FPGA kit. ALU I/O: one 4-bits input operand and 2-bits opcode (assigned to SWs), and 4 output (assigned to LEDs). ALU operations: Opcode Operation 00 Load Output = input 01 One's complement Output = bitwise NOT (input) 10 Decrement Output = input-1 11 Shift right by one bit Output = 'O' & input (3 downto 1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
