Protocols · Medium · Verilog, SystemVerilog, VHDL

Backpressure-Safe Ready/Valid Source

Implement a source register that obeys ready/valid protocol semantics.

Task

When load is asserted while the source can accept a new value, capture load_data and assert valid. Keep valid and data stable until ready completes the transfer.

Examples

Constraints

What this problem is testing

Protocol questions test cycle-accurate sequencing, framing, handshake rules, backpressure, data stability, and the independence of channels or phases.

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

Verification plan

Edge cases worth testing

Common mistakes

Interview follow-up questions

Concepts to review

ready-valid, handshake, backpressure

Open Backpressure-Safe Ready/Valid Source in the HDLForge interactive editor.

Related problems

Explore the Digital Protocol Practice: UART, SPI, AXI, APB & I2C hub.

Continue practising