Open Clay-Cui opened 9 months ago
I see an oversight on the Makefile when building the nexys target, It creates the top level file with an incorrect name "emulation/core-v-mcu-nexys/rtl/core_v_mcu_util.v" instead of "emulation/core-v-mcu-nexys/rtl/core_v_mcu_nexys.v" A quick solution would be to cp emulation/core-v-mcu-nexys/rtl/core_v_mcu_util.v emulation/core-v-mcu-nexys/rtl/core_v_mcu_nexys.v make nexys-emul
Thank you very much for your reply.
I copied the file and found another error.
Traceback (most recent call last): assert loader is not None, "A loader was not found for the package." AssertionError: A loader was not found for the package.
Seems like an error regarding to the jinja2? I didn't change anything in the source code... Or does my environment is wrongly configured?
Thank you very much!
Edit: I think I found out the problem. It's the jinja version. I'm using Ubuntu18.04 which comes with python 3.6. Jinja2 droped python 3.6 support since jinja2 3.1. So I the latest i can get is install jinja2 3.0.3. And it gave me such error. If i use python version greater than 3.6, install the latest jinja2, the error is gone. And I'm waiting for the vivado to finish. Thank you for your help!
Glad to hear you've resolved the issue @Clay-Cui. Would you be willing to contribute a pull-request to this repo to ensure the fix is available to everyone? Thanks!
Hi, I followed the readme file and try to use
make nexys-emul
to generate the bitfile for the nexys board. However, I keep getting this errorERROR: Setup failed : Cannot find emulation/core-v-mcu-nexys/rtl/core_v_mcu_nexys.v in . cp ./build/openhwgroup.org_systems_core-v-mcu_0/nexys-a7-100t-vivado/openhwgroup.org_systems_core-v-mcu_0.runs/impl_1/core_v_mcu_nexys.bit emulation/core_v_mcu_nexys.bit cp: cannot stat './build/openhwgroup.org_systems_core-v-mcu_0/nexys-a7-100t-vivado/openhwgroup.org_systems_core-v-mcu_0.runs/impl_1/core_v_mcu_nexys.bit': No such file or directory Makefile:122: recipe for target 'nexys-emul' failed
I looked into
./build/openhwgroup.org_systems_core-v-mcu_0/nexys-a7-100t-vivado/
there is only a subfolder called src, no folder is called run. How should I fix this? And in the readme file, I don't quite get how to install latest board-parts with the core_v_nexys_200122.bit?Thank you in advance for any help!