UVM Coding Practice · Senior

Predictor & Reference Model

Predictor before scoreboard; ref vs DUT paths.

Interview prompt

Where does the reference model sit relative to scoreboard? Draw dataflow.

diagram
WHITEBOARD CHAIN

1. DECLARE    interfaces / types / ports you need
2. SKELETON   class extends + utils macro + key methods
3. MECHANISM  fill one critical method while narrating
4. PITFALL    name one bug juniors make on this pattern
5. TEST       how you would smoke-test the component

Stimulus → predictor → exp analysis → scoreboard. Monitor → act analysis → scoreboard.

Key takeaways

  • Predictor transforms; scoreboard only compares.

Code lab drill

After reading, try Code lab exercise uvm-l8-int-predictor-sb — topic reference: /topics/uvm/coding-practice/scoreboard/predictor-reference-model