Create a 2-bit ALU that supports 4 operations. That is: Your ALU must have two 2-bit inputs for the operands,

Create a 2-bit ALU that supports 4 operations. That is: Your ALU must have two 2-bit inputs for the operands,

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 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,

Expert Answer:

Answer rating: 100% (QA)

Creating a 2 bit ALU that supports 4 operations with an overflow bit is a good starting point for a
View the full answer