WEEK 1 HOMEWORK
Noah Smith
1.
Use gvim and Vivado to simulate the examples in sections 2.1, 2.2, and
2.3. Post snapshots of gvim windows and vivado simulation results in your report. You must create testbenches for your simulations. (20 points)
Replicating 2.1
Replicating part 2.2. This went very smoothly.
Replicating par 2.3. This was relatively simple.
2.
Run a simulation to show the difference between blocking and non-blocking
assignment in the example in section 2.4. (20 points)
This took me a while to get the test bench running, and still didn’t get the clock to run properly
This simulation worked correctly. The nonblocking assignment executed all at once on the first rising edge of the clock cycle. The blocking assignment executed the first assignment on the first rising edge of the clock cycle, there was only one clock cycle so this was all that got executed.
3.
Repeat the simulation example in section
2.5. (20 points)
4.
For the example
in section 2.5, move the 20 ns delay from Line 25 to Line 24 and run the
simulation. (20 points)
5.
Use gvim and vivado, repeat the example in section 2.6. Post the gvim windows and the vivado
simulation windows for credit. (20 points)