lowRISC / ibex

Ibex is a small 32 bit RISC-V CPU core, previously known as zero-riscy.
https://www.lowrisc.org
Apache License 2.0
1.35k stars 523 forks source link

Fusesoc fork not programming my zyboz7-10 #2004

Closed ourspalois closed 1 year ago

ourspalois commented 1 year ago

Observed Behavior

Hello, I am a french intern in a research lab, and I am trying to use ibex on a small zyboz7-10.

I took the ibex-demo-system and modified it so that it synthesizes. I run the fusesoc command in the root of ibex-demo-system : fusesoc --cores-root=. run --target=synth --tool=vivado lowrisc:ibex:demo_system_zybo It does synthesizes without errors and I get a message :

INFO: Building
INFO: Running

but my fpga is not programmed (I still have the previous programmed loaded onto it).

I was able to reproduce this behavior on blinky, where the fork of fusesoc from the ibex doc could not program my board where as the version 2.0 of fusesoc could.

fusesoc 2.0 was able to program the card (and so did vivado) so I think this issue is related to the fusesoc fork.

I am posting the issue here because I think my problem is due to the fork of fusesoc ibex uses. Is this normal with this version of fusesoc ? Is there a know solution/replacement (like openocd) ?

You can delete this issue if I was wrong and/or just mi-used fusesoc (I am pretty new to this style of rtl flow ^^'). Thanks for your time

My Environment

EDA tool and version:

vivado 2022.2

Operating system:

CentOS 7.6.1810

Version of the Ibex source code:

version of ibex : 93c8e92c0ddbeed1239b04251cfb7d9ae68b5d1f (no modification) version of ibex-demo-system : fb64750c926ffefec1f10c038e2f986aedf2e29a (added files for zybo z7 -10) version of fusesoc : 0.1

ourspalois commented 1 year ago

update I found a solution by using the makefile fusesoc left in /build//synth-vivado

Thanks and sorry for the unnecessary issue