lowRISC / ibex-demo-system

A demo system for Ibex including debug support and some peripherals
Apache License 2.0
50 stars 40 forks source link

Error while building simulation #95

Open NagaHimanshu opened 7 months ago

NagaHimanshu commented 7 months ago

While building simulation from Ibex Repo folder, I got this error.

_sh-5.0$ fusesoc --cores-root=. run --target=sim --tool=verilator --setup --build lowrisc:ibex:demo_system ERROR: 'lowrisc:ibex:demo_system' or any of its dependencies requires 'demosystem', but this core was not found

How to fix this issue?

marnovandermaas commented 7 months ago

Can you check that you have a file named ibex_demo_system.core in the same directory that you are executing this command? It should look like this: https://github.com/lowRISC/ibex-demo-system/blob/main/ibex_demo_system.core

NagaHimanshu commented 6 months ago

Thanks for the comment. Since in the instructions, was mentioned to run "from Ibex repository root", I thought of running from this root - https://github.com/lowRISC/ibex. I guess that was the fault.

In Linux environment, I built the Software and used the docker - https://github.com/lowRISC/ibex-demo-system/releases/download/v0.0.3/ibex-demo-system-docker.tar.gz. After connecting to server and if I execute that command, I'm getting this error:

_INFO: Wrote dependency graph to /home/dev/demo/build/lowrisc_ibex_demo_system_0/sim-verilator/lowrisc_ibex_demo_system_0.deps-after-generators.dot ERROR: Setup failed : Cannot find lint/verilatorwaiver.vlt in : . .

Can you help me with this?