Home / Learn Verilog / Golden Model Checking
Golden Model Checking
Compare against a trusted reference.
The short versionCompare against a trusted reference.
Theory in plain words
The basic idea
A simple behavioural model computes the expected output; the testbench compares it with the DUT cycle by cycle.
Why this comes up
Complex designs need an independent answer.
The mechanics
Write the model in the simplest possible way.
Where it is used
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Pipelined multiplier vs simple *Verilog: edit and run
The model matches the latency of the DUT.
Quick check
1. Golden model should be...
Independent logic.