Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in generating xczu7ev.bba #68

Open
burntfalafel opened this issue May 1, 2023 · 0 comments
Open

Failure in generating xczu7ev.bba #68

burntfalafel opened this issue May 1, 2023 · 0 comments

Comments

@burntfalafel
Copy link

burntfalafel commented May 1, 2023

Hi,
I am using the latest xilinx-upstream branch to run the ZCU104 blinky.sh example. I generate the Makefile successfully and make runs correctly generating me the 4 "binaries" (rapidwright_json2dcp, rapidwright_bbaexport, bbasm, nextpnr-xilinx).

However when I run: java -jar rapidwright_bbaexport.jar xczu7ev-ffvc1156-2-e xilinx/constids.inc xilinx/xczu7ev.bba, I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/xilinx/rapidwright/device/IOBankType
        at com.xilinx.rapidwright.device.IOBank.b(Unknown Source)
        at com.xilinx.rapidwright.device.Device.a(Unknown Source)
        at com.xilinx.rapidwright.device.Device.a(Unknown Source)
        at java.base/java.util.HashMap.compute(HashMap.java:1324)
        at com.xilinx.rapidwright.device.Device.getDevice(Unknown Source)
        at com.xilinx.rapidwright.device.Device.getDevice(Unknown Source)
        at com.xilinx.rapidwright.design.Design.setPartName(Unknown Source)
        at com.xilinx.rapidwright.design.Design.<init>(Unknown Source)
        at dev.fpga.rapidwright.bbaexport.main(bbaexport.java:781)
Caused by: java.lang.ClassNotFoundException: com.xilinx.rapidwright.device.IOBankType
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 9 more

If I were to see what was generated by the CMake/Make the error is correctly raised (i.e. No IOBankType generated):
image
But RapidWright has generated IOBankType class in it's build folder / jar file:
image

I have attached the command and the logfile I used below. But it's the exact same to what is in the README.

export RAPIDWRIGHT_PATH=<path-to-RW>
cmake -DARCH=xilinx -DRAPIDWRIGHT_PATH=<path-to-RW> -DGSON_PATH=./gson-2.8.5.jar .
make

CMake.log
Make.log

(PS - I understand it's a work in progress, but this will help me greatly if you know what's going on...Thanks :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant