Question: Create a 2-bit ALU that supports 4 operations. That is: Your ALU must have two 2-bit inputs for the operands, and a 2-bit input for
Create a 2-bit ALU that supports 4 operations. That is: Your ALU must have two 2-bit inputs for the operands, and a 2-bit input for the operation. The output must be 4 bits, with one extra bit to indicate that the output cannot be represented in 4 bits (that’s usually called an overflow bit). Speaking of keeping it simple: Work with unsigned numbers. By this we mean that 1111 in binary means 15, not -1, and that 1000 means 8, not -8. • Which operations did you choose to implement? • How did you implement the Overflow output? • How would you extend this to 8 bits? How about 8 Operations? Once you have simulated the program using a testbench,
Step by Step Solution
3.33 Rating (150 Votes )
There are 3 Steps involved in it
Creating a 2bit ALU that supports 4 operations with an overflow bit is a good starting point for a s... View full answer
Get step-by-step solutions from verified subject matter experts
