Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a computational unit that can compute the following operations on 4 bit operands: Page 2 of 7 2 TEST CASES 1 . AND 2
Create a computational unit that can compute the following operations on
bit operands:
Page of
TEST CASES
AND
OR
NAND
NOR
Addition
Subtraction
Greater than
Less than
First test the computation unit for all operations. After verifying the unit
works properly for all operations, then instantiate the component times in
the arrangement shown in Fig. Make sure to use the same input and output
names shown in Fig. but note that the figure is representational and does
not show all inputs and signals you might need to implement the design.
Test cases
To test the computation unit, use the inputs and for the first
test case and and for the second test case. Calculate the ex
pected 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 :
A: B: C: D:
Page of
FORMATTING
CU #: OR CU #: ADD, CU#: GREATER THAN
Case :
A: B: C: D:
CU #: AND, CU #: LESS THAN, CU#: SUBTRACT
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started