diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dceb6a6..17e8377 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,6 +25,17 @@ jobs: run: | ./install.sh + - name: Build Icarus + run: | + git clone https://github.com/steveicarus/iverilog.git + cd iverilog + git checkout 06077ed026b4d8498d9129a6acfb0b44d0b51f18 + sh autoconf.sh + ./configure + make -j$(nproc) + sudo make install + iverilog -V + - name: Build Verilator run: | git clone https://github.com/verilator/verilator -b v5.024 diff --git a/verification/cocotb/noxfile.py b/verification/cocotb/noxfile.py index ded9245..e945dfd 100644 --- a/verification/cocotb/noxfile.py +++ b/verification/cocotb/noxfile.py @@ -242,24 +242,23 @@ def ctrl_bus_monitor_verify(session, test_group, test_name, coverage): verify_block(session, test_group, test_name, coverage) -# TODO: Install iverilog in CI and reenable -# @nox.session(tags=["tests", "ahb", "axi"]) -# @nox.parametrize("test_group", ["i3c_phy_io"]) -# @nox.parametrize( -# "simulator", -# [ -# "icarus", -# ], -# ) -# @nox.parametrize( -# "test_name", -# [ -# "test_drivers", -# ], -# ) -# @nox.parametrize("coverage", coverage_types) -# def i3c_phy_io_verify(session, test_group, test_name, coverage, simulator): -# verify_block(session, test_group, test_name, coverage, simulator) +@nox.session(tags=["tests", "ahb", "axi"]) +@nox.parametrize("test_group", ["i3c_phy_io"]) +@nox.parametrize( + "simulator", + [ + "icarus", + ], +) +@nox.parametrize( + "test_name", + [ + "test_drivers", + ], +) +@nox.parametrize("coverage", coverage_types) +def i3c_phy_io_verify(session, test_group, test_name, coverage, simulator): + verify_block(session, test_group, test_name, coverage, simulator) @nox.session(reuse_venv=True)