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 self-testing testbench to verify your CLA implementation.
- Declare required inputs and outputs and instantiate the unit under test
(UUT).
- Use k =4 and n =16.
- Test that your CLA correctly adds all values a, b with 0= a, b 300 if C_IN=0.
- Test that your CLA adds values a, b that are set to the maximum possible values,
correctly when C_IN=0. Note the carry-out of the CLA.
- Also test that your CLA correctly adds values a, b, which are each set to the maximum possible values, when C_IN=0.
are added correctly when C_IN=1.
- Testing all possible inputs is too time-consuming; 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: ./sim.bat cla, otherwise: ./sim.sh cla
 Implement a self-testing testbench to verify your CLA implementation. - Declare

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!