Open ZeroSebastian opened 1 year ago
We tend to run simple system using Verilator so it's possible it's currently broken on Xcelium.
DV_FCOV_SIGNAL_GEN_IF
is a macro defined here: https://github.com/lowRISC/ibex/blob/master/vendor/lowrisc_ip/dv/sv/dv_utils/dv_fcov_macros.svh I note that dv_fcov_macros.svh
should be included in files that use it but it isn't included in ibex_if_stage.sv
. This hasn't caused us issues thus far (in particular our Xcelium DV runs) but we should have the include so I've fixed this here: https://github.com/lowRISC/ibex/pull/2007
Thank you, I just added the same changes to my working copy and this fixes it for now (since the changes have not yet been merged).
Observed Behavior
The xrun command fails with:
Expected Behavior
Starting a simulation with SimpleSystem in Xcelium
Steps to reproduce the issue
First i executed the
fusesoc
command:fusesoc --cores-root=. run --target=sim --tool=xcelium --setup --build lowrisc:ibex:ibex_simple_system --RV32E=0 --RV32M=ibex_pkg::RV32MFast --SRAMInitFile=
./examples/sw/simple_system/hello_test/hello_test.vmem``since the usage of network is restricted on my machine where I can use the xcelium simulator (fusesoc is not installed there), I copied the whole build folder from the root repository to that machine and executed
make run
in./build/lowrisc_ibex_ibex_simple_system_0/sim-xcelium
I use the unmodified ibex source code, I just want to set up a initial setup. I also looked into the Makefiles and the directory that includes the header where the missing macro is defined is included. What am I missing here?
My Environment
EDA tool and version:
Cadence XCelium 22.09.s006
Operating system:
CentOS Linux 7 (Core)
Version of the Ibex source code:
latest master branch
93c8e92