Export Hardware XSA - 2023.2 English

Vitis Tutorials: Vitis Platform Creation

Document ID
Release Date
2023.2 English
  1. Run Implementation.

    1. Click Generate Device Image from Flow Navigator. Wait until the implementation process completes.

    2. Click Open Implemented Design.

  2. Export hardware platform XSA.

    Run the following scripts to generate XSA for static region and dynamic region.

    set_property platform.platform_state "impl" [current_project]
    # Write fixed XSA for static region
    write_hw_platform -force -fixed -static -file vck190_custom_dfx_static.xsa
    # Write extensible XSA for dynamic region
    write_hw_platform -rp versal_dfx_platform_i/VitisRegion vck190_custom_dfx_rp.xsa

    Export the static region in fixed XSA format and dynamic region in extensible XSA format, because the Vitis v++ linker are suppose only to update the hardware in the dynamic region.

    The fixed XSA for the static region will be used to generate the device tree for the static region.