-
Notifications
You must be signed in to change notification settings - Fork 225
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
VUnit simulation failure #892
Comments
Hi @DatNguyen97-VN ! Make sure that the I recommend you to follow step by step the workflow for VUnit simulation. That is, build the program with the right architecture: make -C sw/example/processor_check
clean_all
USER_FLAGS+=-DUART0_SIM_MODE
USER_FLAGS+=-DSUPPRESS_OPTIONAL_UART_PRINT
USER_FLAGS+=-flto
MARCH=rv32imac_zicsr_zifencei
info
all For this purpose you can use the following container:
Using for example the following code: podman run --rm -itv $(pwd):/wrk:z -w /wrk stnolting/neorv32/sim make -C sw/example/{ANY_SW_FOLDER} clean_all USER_FLAGS+=-DUART0_SIM_MODE USER_FLAGS+=-DSUPPRESS_OPTIONAL_UART_PRINT USER_FLAGS+=-flto MARCH=rv32imac_zicsr_zifencei info all (Here I've used podman but it would be the same for docker.) And run the simulation: ./sim/run.py --ci-mode -v I just checked in local and the simulation works properly. As shown in the following images: I hope you find it helpful, Cheers! 😃 |
I think this can be closed, right? |
Dear Admin,,,
Describe the bug
I running the script
./sim/run.py -v
for VUnit test and this message after running the simulation GHDL Bug occurred. 😢Expected behavior
Please help me again... 😃
The text was updated successfully, but these errors were encountered: