Question: write a VHDL quartus code and testbench for a 2 bit ALU. It should have two modes, ' 0 ' and ' 1 ' .

write a VHDL quartus code and testbench for a 2bit ALU. It should have two modes, '0'and '1'.It should perform logical (and,nand, or,nor, xor, xnor, sll, srl)and arithmetic (addition,subraction, division, modulus, multiplication, 1s complement, 2s complement)operations based on the mode. The code must be compatible with intel DE-115FPGA board. Use Behavioral modelling technique. MAKE SURE IT WORKS, OTHERWISE I WILL REPORT. MAKE SURE YOU WRITE IT IN TERMS OF SW AND LEDR!!! IT SHOULD HAVE TWO INPUTS A AND B EACH 2 BIT. I WILL DOWNVOTE AND REPORT AND COMPLAIN IF ITS WRONG!! SO TIRED OF WRONG ANSWERS!!!

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!