Skip to content

Conversation

@fabianschuiki
Copy link
Contributor

Add the compare-arcs-vtor.py utility script which takes a core dialect design, compiles it with Arcilator and Verilator to obtain two simulators, and then runs the simulators in lockstep on random inputs to verify that they produce the same output.

This can be useful in combination with circt-reduce in order to isolate behavior mismatches between Arcilator and Verilator.

Copy link
Member

@uenoku uenoku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I feel the script is a bit too sensible to specific versions of tools, but I'm fine with it.

Add the `compare-arcs-vtor.py` utility script which takes a core dialect
design, compiles it with Arcilator and Verilator to obtain two
simulators, and then runs the simulators in lockstep on random inputs
to verify that they produce the same output.

This can be useful in combination with circt-reduce in order to isolate
behavior mismatches between Arcilator and Verilator.
@fabianschuiki fabianschuiki force-pushed the fschuiki/compare-arcs-vtor branch from 2640767 to c861689 Compare August 4, 2025 22:29
@fabianschuiki fabianschuiki merged commit b70052f into main Aug 4, 2025
6 checks passed
@fabianschuiki fabianschuiki deleted the fschuiki/compare-arcs-vtor branch August 4, 2025 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants