To write a hardware platform using the GUI, follow these steps:
Select File→ Export → Export Hardware in the Vivado Design Suite. The Export Hardware Platform window opens.
Click Next.
In the output window, select Pre-synthesis and click Next.
Provide the XSA file name and Export path, then click Next.
Fig. 3 Files window for Export Hardware
Click Finish to generate the hardware platform file in the specified path. It will be the input file of next examples.
Note
The difference between the pre-synthesis XSA and the post-implementation XSA for embedded designs is whether the bitstream is included. If you are running applications in the Vitis IDE, you can configure the bitstream to hardware before running the application. If there is a bitstream in the XSA file, the Vitis IDE uses it by default. If a bitstream is not available, or if you wish to use another bitstream file, specify the bitstream path in the Vitis IDE.
For this example, we do not have programmable logic, so the pre-synthesis XSA is used.