ipbus / ipbb

IPbus Builder Tool
GNU General Public License v3.0
12 stars 12 forks source link

Vivado: Add support for exporting XSA file #209

Closed tswilliams closed 1 month ago

tswilliams commented 1 month ago

XSA file creation is enabled by adding the following to your depfile:

@vivado.create_xsa = True

Notably, the XSA-creating TCL command only works if there's a copy of the bitstream at <implementation_run_directory>/<top_entity_name>.bit. So I updated the bitfile function to save the bitfile there, and then copy it under the IPBB products directory immediately afterwards.