-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile the CV32E40S model due to errors in testbench wrapper #2362
Comments
The first RTL issue has been fixed in April 2022 while the hash is from February 2022. It should fix the interrupt interface signals as well. |
Hi @pcotret, thanks for your interest in CORE-V-VERIF. Unfortunately, the CV32E40S "core" testbench does not support Verilator. The last time I attempted this, Verilator could not compile the RTL, and I see that may still be the case, so there was little point attempting to get the testbench up and running. Having said that, it is possible that Verilator v5.x can support the RTL, so maybe it is time to try again. The first thing to do is get the scriptware to fetch the most recent version of the RTL. To do that edit the value of |
We had a look at this today with a student. We have a Verilator model but the hello world example is stuck in a loop :
|
Thanks for working on this @pcotret.
Nothing of consequence. I cleaned up some code replication in the 40P version (see the
AFAIK, there has never been any attempt to exercise the interrupts or debug-requests in any of the core testbenches. To get started you may want to tie these off on the core inputs. |
Bug Title
Cannot compile the CV32E40S model.
Type
Indicate whether the type of problem you found:
Steps to Reproduce
Generates this error:
I know this is a RTL error. Let's fix it locally as in the master branch and re-run
make
:Refers to this part: https://github.com/openhwgroup/core-v-verif/blob/master/cv32e40s/tb/core/cv32e40s_tb_wrapper.sv#L117-L119
core-v-verif should clone this hash of the CV32E40S core: https://github.com/openhwgroup/cv32e40s/tree/103056f0deeac8e6cc10244c86bff83d3014f66f
It uses CLIC interface to play with interrupts: https://github.com/openhwgroup/cv32e40s/blob/103056f0deeac8e6cc10244c86bff83d3014f66f/rtl/cv32e40s_core.sv#L110-L118
Additional context
Steps to Reproduce
worked with a CV32E40P, Verilator 5.006.The text was updated successfully, but these errors were encountered: