Complete homework 1

This commit is contained in:
Blizzard Finnegan 2023-10-11 09:26:56 -04:00
parent 015f28a6c9
commit 515fb6d971
Signed by: blizzardfinnegan
GPG key ID: 61C1E13067E0018E
5 changed files with 6 additions and 0 deletions

View file

@ -7,10 +7,14 @@
1. Pull down the `prop_delay.zip` folder and simulate it in Modelsim. Include a similar waveform screenshot in your report and explain why each and every signal transition happens between 2 and 3ns.
![](./question1.png)
The transition from `2ns` to `+1` is the parsing of the first line of the `vhd` file (that is, `sig1 <= a or b;`). The transition from `+2` is the cascading change (that is, `c <= not sig1;`).
2. Pull down the `concurrency.zip` folder and simulate it in Modelsim. Include a similar waveform screenshot in your report and explain:
![](./question2.png)
- Why is `sequential c` initially undefined, while `concurrent c` has a starting value of `0`?
Sequential values can only be implied one transition down. Concurrent values can be constantly re-checked, and include mid-state transitions.
@ -21,5 +25,7 @@ The final values are different between sequential and concurrent, partially due
3. Pull down the `concurrency.zip` folder and simulate it in Modelsim. Run the program as is, and save a waveform screenshot. Then run the program with `b` added to the sensitivity list shown below, and save a screenshot of this waveform as well. Include both waveforms, and explain why they are different.
![](./question3.png)
Initially, the process does not include `b` in the sensitivity list. So, when `b` changes, and `s='0'`, no change in `c` happens despite the inclusion of the set statement in the process. This is due to the fact that simulations use sensitivity lists to determine when to recalculate. However, when `b` is added to the sensitivity list, the change successfully happens.

BIN
homework1/hw1.pdf Normal file

Binary file not shown.

BIN
homework1/question1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
homework1/question2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
homework1/question3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB