-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error on running tests on DUT #10
Comments
Tests are running perfectly now. I have downloaded the But the MAKEFILE for DUT is still missing in the |
I also had some version issues at first (had multiple GHDL installations on my system). Anyway, great to hear that your setup works! 👍
What MAKEFILE do you mean / for which purpose? The executable for each test case is generated by a simple makefile in |
I meant the Makefile generated by RISCOF. (Though, I am not sure if it is actually a Makefile or some log file that contains the executed commands) My purpose is the backtrack/debug and see if the right commands were executed for DUT, which means, to check if we are writing DUT's plugin (here: |
Ah, now I understand what you mean 😉 There is nothing like a command log (like the ref's makefile) for the DUT because there is no such mechanisms implemented. However, you can add the verbose flag ( # run riscof
riscof -v debug run --config=config.ini \
--suite=riscv-arch-test/riscv-test-suite/ \
--env=riscv-arch-test/riscv-test-suite/env \
--no-browser This will dump all commands executed by the DUT (and it's framework) to the console:
|
Thank you so much, Sir! This is exactly what I wanted. One more point: |
The RISC-V priv. spec. explicitly allows that a platform can define the events that write to The Sail model stores the address of the causing break instruction to There is some explanation text in the README: Compatibility-Issues That is why I have added a patch to circumvent this problem, as Sail does not yet support |
Awesome, I overlooked the patch part and the Compatibility Issue. Surely, sail-riscv is broken here. Thank you for explaining everything. And lastly, One last thing, Do you plan to add |
Thank you very much for the nice words!
Not a re-implemenation in Verilog, but anyway: neorv32-verilog 😉
This is also my dream / long-term goal. 😅
The default use case of the NEORV32 is a single-core setup, so the So, yes, the |
Awesome
Looking forward, and hoping to learn more from it :)
Not aware of these stuff right now but will learn soon hopefully. Thank you for the help. It solved my problem and it's been a nice discussion. |
Hi,
I'm getting errors on running tests on DUT. It might be
ghdl
. I'm new to this simulation environment andvhdl
as well.Following is the error message for each test run by riscof.
I've installed
ghdl
usingsud apt-get install ghl
. Every other pre-requisite (toolchain, neorv32, riscof, arch-tests) is setup properly. Please help me resolve this error.Also, no MAKEFILE is generated for DUT (neorv32) by RISCOF as it is generated for Reference (SAIL). How can we generate the Makefile for DUT as well?
The text was updated successfully, but these errors were encountered: