Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Assert bounded eventual completion

Hardware interview practice

Assert bounded eventual completion

MediumTemporal ChecksSystemVerilog

Write an assertion stating that every start must be followed by done within 1 through N cycles.

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Reviewed example

Work through one case

Input
N=3; start at cycle2 and done at cycle5; separately try done in the same start cycle
Expected output
latency-3 completion passes; same-cycle completion fails the 1..3 consequent

The reset-disabled property admits only the first through third later sampled edges unless the protocol explicitly changes that bound.

What to cover

Requirements

  1. Sample on the positive clock edge.
  2. Disable the property during active-low reset.
  3. Do not allow same-cycle done unless the specification says so.
Continue practicing

Related questions

Temporal ChecksAssert an integer square-root pipeline→Temporal ChecksProve an elastic one-hot checker→Temporal ChecksOverlapped versus non-overlapped implication in SVA→
asic.fyi · Learn silicon end to end.info@asic.fyi