Skip to content

Commit

Permalink
Re-enable Icarus tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gorochowik <[email protected]>
  • Loading branch information
tgorochowik committed Dec 16, 2024
1 parent 20c9c60 commit 11e3621
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 19 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo apt -qqy update && sudo apt -qqy --no-install-recommends install help2man libfl-dev
sudo apt -qqy update
sudo apt -qqy --no-install-recommends install help2man libfl-dev make g++ git bison flex gperf \
libreadline-dev libbz2-dev autoconf python3-sphinx \
python3-docopt
- name: Setup repository
uses: actions/checkout@v4
Expand All @@ -25,6 +28,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
Expand Down
35 changes: 17 additions & 18 deletions verification/cocotb/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 11e3621

Please sign in to comment.