llvm / circt

Circuit IR Compilers and Tools
https://circt.org
Other
1.62k stars 281 forks source link

[CI] Consider adding a IEEE simulator for the integration tests #3948

Open Dinistro opened 1 year ago

Dinistro commented 1 year ago

As we start to see more and more integration tests that require an IEEE simulator to run, it might make sense to add one to the CI. While proprietary simulators might be a pain to set up, we could start by using IVerilog which should be available as an apt package.

When doing so, we should also pip-install the cocotb packages, as they are used frequently in combination with IVerilog.

mortbopet commented 1 year ago

As for the handshake integration tests (of which none currently run on CI https://github.com/llvm/circt/actions/runs/3082222969/jobs/4981653976#step:8:70), they all pass using a recent version of iverilog - which should be fairly straight forward to add to the CI image.