SVA · Medium · SystemVerilog

Payload Stable While Stalled

Assert that a source cannot change its payload while valid is high and ready is low.

Task

On a stalled cycle, require valid to remain high and data to stay stable on the next cycle.

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, ready-valid, stable

Open Payload Stable While Stalled in the HDLForge interactive editor.

Related problems

Explore the SystemVerilog Assertions (SVA) Practice hub.

Continue practising