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:
Regenerate the target for ext_bdc_vma.bd.
Run the design synthesis, implementation run and timing closure.
Address timing violations and other implementation issues with the design.
Generate the fixed xsa using the TCL API:
write_hw_platform -fixed ./hw/build/my_project/vck190_prj_fixed_hw.xsa
.
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:
Regenerate the target for the ext_bdc_vma.bd and vck190_prj.bd
Generate the simulation scrips: `launch_simulation -scripts_only
Set the variable AIE_WORK_DIR=<absolute_path>/aie/Work from the terminal.
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.
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
Output: The fixed XSA, vck190_prj_fixed_hw_emu.xsa
, is located in the folder hw/build/my_project
.