Question: Design and test with a test - bench an ALU that performs add, multiply, and divide, and bit wise negation. The inputs are 3 -

Design and test with a test-bench an ALU that performs add, multiply, and divide, and bit
wise negation. The inputs are 3-bit data A and B and a 2-bit opcode. The outputs are alu_out
and binary output error. The inputs are assumed to always be positive. If divide by 0 is
attempted assert output error.

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!