Skip to content

RTL riscv instruction tests#583

Merged
rascmatt merged 9 commits intomasterfrom
feat/rtl-test-image
Dec 5, 2025
Merged

RTL riscv instruction tests#583
rascmatt merged 9 commits intomasterfrom
feat/rtl-test-image

Conversation

@rascmatt
Copy link
Contributor

@rascmatt rascmatt commented Nov 30, 2025

Add docker-based RTL tests.

The rtl-base image is set up with the risc-v test suite (https://github.com/riscv/riscv-tests) already checked out and pre-built at /riscv-tests. The test setup then copies/mounts the openvadl rtl output to /rtl.

To actually execute the test suite I'm also using a bash script, which allows for lots of flexibility. I think this will particularly useful when implementing the automated benchmarking/evaluation.

@rascmatt rascmatt self-assigned this Nov 30, 2025
@github-actions github-actions bot added the enhancement New feature or request label Nov 30, 2025
@rascmatt rascmatt changed the title Feat/rtl test image RTL riscv instruction tests Nov 30, 2025
@github-actions github-actions bot added the hardware Related to the MiA and hardware generation label Nov 30, 2025
@rascmatt rascmatt force-pushed the feat/rtl-test-image branch 2 times, most recently from a691962 to 71f9c73 Compare December 1, 2025 09:31
@rascmatt rascmatt marked this pull request as ready for review December 3, 2025 10:10
@rascmatt rascmatt force-pushed the feat/rtl-test-image branch from 6790b44 to 39295a9 Compare December 3, 2025 12:57
@rascmatt rascmatt requested a review from Jozott00 December 3, 2025 15:05
@rascmatt rascmatt requested a review from linushdot December 5, 2025 06:39
@rascmatt rascmatt force-pushed the feat/rtl-test-image branch from 53fd253 to 5cfdc25 Compare December 5, 2025 06:42
Copy link
Contributor

@linushdot linushdot left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for integrating the first hardware tests into CI!

@rascmatt rascmatt merged commit c5e4439 into master Dec 5, 2025
11 checks passed
@rascmatt rascmatt deleted the feat/rtl-test-image branch December 5, 2025 13:07
@rascmatt
Copy link
Contributor Author

rascmatt commented Dec 5, 2025

Benchmarks are in the pipeline too :) #593

AndreasKrall pushed a commit that referenced this pull request Dec 24, 2025
* rtl: prepare RTL test base

- refactor firtool build image
- prepare dependencies for test-base image

* rtl: Integrate RTL tests into openvadl tests

* fix: checkstyle issue

* rtl: Add build action for rtl-test-base image

* rtl: Fix signal name conflict

* rtl: Add image digest to firtool image import

* rtl: Use ghcr rtl-test-base image

* ci: Add test-rtl task to CI workflow

* rtl: Use latest rtl-test-base image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request hardware Related to the MiA and hardware generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants