To start software development, user can export the hardware definition (XSA) to Vitis™ software environment after generating the design. This exports the necessary XML files needed for Vitis to interpret the IPs used in the design and also exports the memory mapping from the processor perspective. After a bitstream is generated and the design is exported, then the device can be downloaded and the software can run on the processor within the platform. The hardware can be exported at two stages in the design flow: pre-synthesis and post-implementation.
To export the hardware prior to synthesis, use the following steps:
- In the Flow Navigator, under IP integrator, click Generate Block Design. Alternatively, select the BD in the Sources window, then right-click and select Generate Output Products.
- In the Generate Output Products dialog box, select the
appropriate option, and click Generate.
- To export the platform, click Export Platform button or select File → Export → Export Platform.
- The Export Platform wizard guides user through the export process to Vitis or Petalinux software tools. User needs to provide the name and location of exported files and specify the platform properties.
- Click Next to specify the platform type first. Options are
exporting project files to be used for hardware, emulation, or both.
- Next user selects between the tow implementation state of the platform (pre-synthesis or post-implementation) to indicate the starting point for Vivado flow under v++.
- Next enter the platform properties including: name, vendor,
board, version, description. This step also allows user to set the Tcl and
constraints used by Vitis when compiling designs with this platform for Vivado
- In the next stage, user enters the name of the platform as well as the location where XSA files will be stored.
- Review the settings for the platform. To export the platform, click Finish.
For more information on exporting platforms, see Generating Basic Software Platforms Reference Guide (UG1138).