Question: Write a Verilog/System Verilog module for a N-bit ripple carry adder. N should be parameterized and a module can be instantiated with a specific N,
Write a Verilog/System Verilog module for a N-bit ripple carry adder. N should be parameterized and a module can be instantiated with a specific N, e.g. 8 for 8-bit, 16 for 16-bit etc.. It must use 1-bit full adders (FA) as building blocks. That means that 1-bit adder should be modeled as a Verilog/System Verilog module. Then write a test bench program to test the module using N=16. Use ModelSim to simulate and test your work (using the waveform panel to confirm the behavior of your adder module).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
