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

Can't generate DeviceResources file for Versal #968

Open
Quadrollopo opened this issue Mar 11, 2024 · 1 comment
Open

Can't generate DeviceResources file for Versal #968

Quadrollopo opened this issue Mar 11, 2024 · 1 comment

Comments

@Quadrollopo
Copy link

I tried to generate the DeviceResources file for Versal with rapidwright DeviceResourcesExample xcvc1902
but the output will always end with a NullPointerException:

==                     Device Resources Dump: xcvc1902                      ==
==============================================================================
             Load Device:     1.405s    324.116MBs          |    627.945MBs (peak)
           populateEnums:     0.512s     44.979MBs          |    666.945MBs (peak)
Exception in thread "main" java.lang.NullPointerException
	at com.xilinx.rapidwright.interchange.DeviceResourcesWriter.writeAllSiteTypesToBuilder(DeviceResourcesWriter.java:620)
	at com.xilinx.rapidwright.interchange.DeviceResourcesWriter.writeDeviceResourcesFile(DeviceResourcesWriter.java:288)
	at com.xilinx.rapidwright.interchange.DeviceResourcesExample.main(DeviceResourcesExample.java:56)
	at com.xilinx.rapidwright.MainEntrypoint.main(MainEntrypoint.java:223)

I also tried different Versal devices but it will always end up like the previous output.
For other non-Versal devices the command would work fine.

@clavin-xlnx
Copy link
Member

Thank you for reporting this issue. I have created a workaround so that a Device Resources file can successfully be generated, you'll need this PR: #969.

A larger, more permanent fix will come a bit later.

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

2 participants