Open DatNguyen97-VN opened 2 weeks ago
Hi @DatNguyen97-VN !
Make sure that the application_image.vhd
file is a proper file to perform the simulation. (The simulation is developed for the software processor_check
and hello_world
), see #816.
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:
docker://ghcr.io/stnolting/neorv32/sim
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! 😃
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. :cry:Expected behavior
Please help me again... :smiley: