Closed djg closed 3 years ago
@tommythorn Are you able to get the example working with Verilator v4.038 with this PR?
I’ll test
The flush_and_exit_cb
branch builds for me with v4.038 (tested on Ubuntu) and 4.108 (tested on macOS + HomeBrew), thanks. On both cargo run -p example
works correctly.
Thanks
Fixes #5
The interface to running callbacks on flush changes in Verilator v4.038. Add support to check version of verilator being used and compile in the the correct methods in the shim.
Going forward, verilated-rs will drop support for Verilator versions before v4.108