A strong window cut by the end of the run: give each attempt's verdict and the edge where it is decided.
Hardware context: A request window wrapped in strong(), cut short by the end of a test. Read what strong changes at the end of a run, and what it does not.
After a request, ack must come 1 to 3 edges later, and the window is wrapped in strong(...).
The trace gives the sampled values at ten rising edges, and the run ends after the last one. Six attempts are asked. For each, choose its verdict and the edge where it is decided.
The Assertion and the Trace
Read the sampled values as text
req: edge 1 = 1, edge 2 = 0, edge 3 = 0, edge 4 = 1, edge 5 = 0, edge 6 = 0, edge 7 = 0, edge 8 = 1, edge 9 = 1, edge 10 = 0ack: edge 1 = 0, edge 2 = 0, edge 3 = 1, edge 4 = 0, edge 5 = 0, edge 6 = 0, edge 7 = 0, edge 8 = 0, edge 9 = 1, edge 10 = 0
Standard behaviour: no free simulator runs this construct correctly. The key was derived by hand from IEEE 1800-2017 and checked independently.
Simulator note: Verilator 5.052 does not accept strong(...) (lesson A3.1). The key is the standard behaviour, derived by hand and checked by the trace oracle. The standard fixes the verdict at the end; how a tool reports it differs.
How to Answer
For each attempt, choose its verdict and the edge where that verdict is decided. A vacuous attempt is graded on its verdict only. A pending one is still running at the end of the run.
- Answer every attempt: its verdict, and the edge where that verdict is decided.
- Read the values the assertion samples at each edge (the dots), not the values after the edge.
- Run grades the first attempt and says whether it is right. Submit grades every attempt and says only whether all are right.
Full specification
a1: assert property (@(posedge clk) req |-> strong(##[1:3] ack));
The clock rises at 5, 15, 25, ... 95. The run ends at 100, with no further edge.
Hints
Hint 1
Inside the run, a strong window fails where a weak one would. What changes at the end?
Hint 2
Does strong need the whole window to fit in the run, or one match?
Hint 3
Which edges does the window of each attempt cover?
What is checked: The verdict and decision edge of six attempts, against the standard key derived in docs/sva-standard-traces/A3.md (sva-069-b).
More problems on this topic