YosysHQ / picorv32

PicoRV32 - A Size-Optimized RISC-V CPU
ISC License
3.15k stars 759 forks source link

Issue with Trap under vivado scripts #203

Open Deepakpy opened 3 years ago

Deepakpy commented 3 years ago

Hello, I am trying to run behavioural simulation for system.v and system_tb.v in the scripts/vivado with hexcode file created for custom simple c programs using riscv-32i gcc compiler. However, when i try to simulate the trap gets triggered. But, when running with the hex file created through the make firmware.hex the trap is not getting triggered.

It would be helpful if someone help me with the workaround for the Trap getting triggered or where i am doing wrong.