Overview
In the described cross-level processor verification flow, the Comparator is the component responsible for finding functional differences between the RTL-Core and the ISS.
How it works
The Comparator operates on register values produced by the two execution domains. A direct time-aligned comparison is not sufficient, because the RTL core and the ISS do not have the same timing behavior. To handle this, the Comparator:
- logs register-value changes from the RTL core and the ISS,
- continuously compares the logged changes at the same position, and
- reports a mismatch as soon as a difference is observed.
Behavior on mismatch
If the Comparator detects any difference between the RTL core and the ISS, the simulation is stopped.
Context in the verification setup
The Comparator is part of a broader cross-level processor verification environment that uses an ISS as a reference model. In that setup, the Comparator works alongside other components such as the core adapter, coverage observer, and instruction injector.