DescriptionQ1069
Q1069DVASIC interview problem
Schedule configurable slave responses
TechniquesUVMResponderLatencyOrdering
DifficultyHard
TopicUVM Components
LanguageSystemVerilog
Requirements4 checkpoints
01
Problem
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.
Example input and output
Use this case to check your interpretationInput
request A arrives first due at cycle5; request B arrives second due at cycle3; schedule at cycle3Output
global mode selects none; per-ID or out-of-order mode may select B with B's matching response IDExplanation
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.
02
Requirements (4)
- Keep the request monitor passive and place response decisions in a replaceable policy object.
- Global mode may select only the oldest request; per-ID mode may select only the head request for each ID.
- Out-of-order mode may choose any due request while preserving response ID matching.
- Drive the chosen response with stable ready/valid semantics in a separate responder driver.
