Question: 2 . Download and extract the enclosed files from hw 2 a . zip: full _ adder _ nodelay.v a full one - bit adder

2. Download and extract the enclosed files from hw2a.zip:
full_adder_nodelay.v a full one-bit adder module
four_bit_adder_subtractor.v a (broken) four-bit ripple-carry adder/subtractor, which uses
the adder in the above file
adder_subtractor_test.v a test bench that will verify the behavior of the above module
To run the test bench, compile adder_subtractor_test.v and run the resulting binary in the simulator. View the resulting waveform in a waveform viewer. The following commands will do it:
iverilog -o adder_subtractor_test . vvp adder_subtractor_test . v
vvp adder_subtractor_test . vvp
The resulting file adder_subtractor_test.vcd is your waveform. To view the waveform, use one of
these options:
If youre using Vital or Anubis with Webtop, you can open it using the command
gtkwave adder_subtractor_test.vcd.
Alternatively, you can open the file on this website.

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!