Question: 2 . Download and extract the enclosed files from hw 2 a . zip: full _ adder _ nodelay.v a full one - bit adder
Download and extract the enclosed files from hwazip:
fulladdernodelay.v a full onebit adder module
fourbitaddersubtractor.v a broken fourbit ripplecarry addersubtractor which uses
the adder in the above file
addersubtractortest.v a test bench that will verify the behavior of the above module
To run the test bench, compile addersubtractortest.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 addersubtractortest vvp addersubtractortest v
vvp addersubtractortest vvp
The resulting file addersubtractortest.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 addersubtractortest.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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
