Question: Implement a self - testing testbench to verify your CLA implementation. - Declare required inputs and outputs and instantiate the unit under test ( UUT
Implement a selftesting testbench to verify your CLA implementation.
Declare required inputs and outputs and instantiate the unit under test
UUT
Use k and n
Test that your CLA correctly adds all values a b with a b if CIN
Test that your CLA adds values a b that are set to the maximum possible values,
correctly when CIN Note the carryout of the CLA.
Also test that your CLA correctly adds values a b which are each set to the maximum possible values, when CIN
are added correctly when CIN
Testing all possible inputs is too timeconsuming; the simulation would potentially take a very long time.
time.
Display an appropriate error message if the UUT works incorrectly.
Note: The code framework issues a warning "SIMULATION TOOK TOO LONG, STOPPING
NOW" if your testbench is too slow. In this case, your code probably
an infinite loop in your code.
Note: You can compile and start your testbench with the following command:
Windows: simbat cla, otherwise: simsh cla
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
