Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Schedule configurable slave responses

Hardware interview practice

Schedule configurable slave responses

HardUVM ComponentsSystemVerilog

Build the policy core of a reactive responder that queues observed requests and emits responses with configurable latency, error injection, and global, per-ID, or out-of-order scheduling.

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
request A arrives first due at cycle5; request B arrives second due at cycle3; schedule at cycle3
Expected output
global mode selects none; per-ID or out-of-order mode may select B with B's matching response ID

Global policy cannot bypass its not-yet-due oldest request, while the other policies may choose a due head without moving drive semantics into the monitor.

What to cover

Requirements

  1. Keep the request monitor passive and place response decisions in a replaceable policy object.
  2. Global mode may select only the oldest request; per-ID mode may select only the head request for each ID.
  3. Out-of-order mode may choose any due request while preserving response ID matching.
  4. Drive the chosen response with stable ready/valid semantics in a separate responder driver.
Continue practicing

Related questions

Temporal ChecksCheck ordered grants for overlapping requests→
asic.fyi · Learn silicon end to end.info@asic.fyi