Question: 1 . Create a 6 - Bit Ripple Carry Adder Module called Adder 6 : a . What inputs, outputs, and wires would you

1. Create a 6-Bit Ripple Carry Adder Module called "Adder6":
a. What inputs, outputs, and wires would you define this module with, and what would be the sizes of the vectors? (Hint: look at Exercise 2 in making the 4-bit adder)
b. How many EullAdder instances do we need? What would you name them?
Paste below your Adder6 module code:
2. Create a 6-Bit Ripple Carry Adder testbench Module called "Adder6_tb":
a. What inputs, outputs, and wires would you define this testbench module with, and what would be the sizes of the vectors? (Hint: Again, check Exercise 2.)
b. What would be the dut statement to instantiate the Adder6 module to this testbench module?
Click or tap here to enter text.
c. Test Cases:
i. What are the binary values of 3 and 8?
Click or tap here to enter text.
ii. What would be the simulation statement for adding these two numbers in binary? (\(\mathrm{sin}=0\))
Click or tap here to enter text.
iii. What is the command to end the simulation at the end of all test cases?
Click or tap here to enter text.
iv. Record the expected and simulated outputs in the table below
\begin{tabular}{|l|l|l|l|l|l|l|l|l|}
\hline A (Decimal) & B (Decimal) & A (Binary) & B (Binary) & cin & \begin{tabular}{l}
Expected \\
Sum
\end{tabular} & \begin{tabular}{l}
Simulated \\
Sum
\end{tabular} & \begin{tabular}{l}
Expected \\
cout
\end{tabular} & \begin{tabular}{l}
Simulated \\
cout
\end{tabular}\\
\hline 1 & 1 & & & 0 & & & & \\
\hline 3 & 5 & & & 0 & & & & \\
\hline 32 & 1 & & & 1 & & & & \\
\hline 37 & 51 & & & 0 & & & & \\
\hline 15 & 15 & & & 0 & & & & \\
\hline 62 & 1 & & & 1 & & & & \\
\hline 21 & 22 & & & 1 & & & & \\
\hline
\end{tabular} v. Paste below your testbench module code below using the test cases from the table above:
vi. Paste a screenshot of your simulation waveforms for all input combinations:
1 . Create a 6 - Bit Ripple Carry Adder Module

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!