SVA · Medium · SystemVerilog

Bounded Request Response

Require a response within a bounded number of cycles.

Task

Every req pulse must be followed by resp within 1 to 8 cycles.

Examples

Constraints

What this problem is testing

SVA questions test temporal reasoning: exactly when signals are sampled, overlapped versus non-overlapped implication, reset disabling, and whether an assertion can pass vacuously.

Interview habit: before coding, state reset behavior, the state that must be stored, and the conditions that update each output.

Verification plan

Common mistakes

Interview follow-up questions

Concepts to review

sva, liveness, bounded

Open Bounded Request Response in the HDLForge interactive editor.

Related problems

Explore the SystemVerilog Assertions (SVA) Practice hub.

Continue practising