Step 6: Generate the Fixed XSA - 2024.1 English

Vitis Tutorials: Vitis Platform Creation (XD101)

Document ID
XD101
Release Date
2024-06-19
Version
2024.1 English

In this step, generate the fixed xsa for hardware (testing design on hardware) flow or hardware emulation flow. Following steps helps to generate the fixed xsa successfully:

Steps to generate fixed xsa for hardware flow:

  1. Regenerate the target for ext_bdc_vma.bd.

  2. Run the design synthesis, implementation run and timing closure.

  3. Address timing violations and other implementation issues with the design.

  4. Generate the fixed xsa using the TCL API: write_hw_platform -fixed ./hw/build/my_project/vck190_prj_fixed_hw.xsa.

image

Output: The fixed XSA, vck190_prj_fixed_hw.xsa, is located in the folder hw/build/my_project.

Steps to generate the fixed xsa for hardware emulation:

  1. Regenerate the target for the ext_bdc_vma.bd and vck190_prj.bd

  2. Generate the simulation scrips: `launch_simulation -scripts_only

  3. Set the variable AIE_WORK_DIR=<absolute_path>/aie/Work from the terminal.

  4. Go to the folder:./hw/build/my_project/my_project.sim/sim_1/behav/xsim/ and run compile.sh and elaborate.sh from the terminal.

  5. Generate the fixed xsa to run hardware emulation: write_hw_platform -fixed -include_sim_content ./hw/build/my_porject/vck190_prj_fixed_hw_emu.xsa

image

Output: The fixed XSA, vck190_prj_fixed_hw_emu.xsa, is located in the folder hw/build/my_project.