Question: To test the computation unit, use the inputs 1 0 0 1 and 0 1 0 1 for the first test case and 0 1

To test the computation unit, use the inputs 1001 and 0101 for the first
test case and 0110 and 1001 for the second test case. Calculate the expected values and then record the simulated outputs in a table for comparison
to verify that they match.
To test the overall design, use the following test cases and similarly record
the calculated vs simulated outputs in a separate table for comparison.
Case 1:
A: 1011, B: 1100, C: 1001, D: 0011
Page 3 of 7
3 FORMATTING
CU #1: OR, CU #2: ADD, CU#3: GREATER THAN
Case 2:
A: 1011, B: 1100, C: 1001, D: 0011
CU #1: AND, CU #2: LESS THAN, CU#3: SUBTRACT

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 Databases Questions!