Illegal instruction at start of ram during Questa simulation #1019
-
I'm using the branch release/v4.3.0 assuming it is stable Trying to run simulation with Questa using one of tests make sim elf-bin=./tmp/riscv-tests/build/share/riscv-tests/isa/rv64ui-p-add batch-mode=1 After jumping to ram start 0x80000000 the core introduces illegal instruction and jumps to 0x10040 Verilator simulation looks ok Questa version is 2022.04 Here is the simulation log
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @artakarakelyan, this is expected. The simulation starts with an empty RAM. After a while, the frontend-server should connect via the debug module, load the program via JTAG, and start execution. Perhaps wait a bit longer for this to happen. |
Beta Was this translation helpful? Give feedback.
Hello @artakarakelyan, this is expected. The simulation starts with an empty RAM. After a while, the frontend-server should connect via the debug module, load the program via JTAG, and start execution. Perhaps wait a bit longer for this to happen.