diff --git a/src/shim_ve2/CMakeLists.txt b/src/shim_ve2/CMakeLists.txt index a2fba35e2..3a23bdb83 100644 --- a/src/shim_ve2/CMakeLists.txt +++ b/src/shim_ve2/CMakeLists.txt @@ -35,38 +35,3 @@ install (TARGETS ${XDNA_VE2_TARGET} EXPORT xrt-targets LIBRARY DESTINATION ${XRT_INSTALL_LIB_DIR} ) - -# VTD pin: https://github.com/Xilinx/VTD/tree/4517a16b2aa1ecb8de235b11e9ba7666553bfc34/archive/ve2 -set(vtd_ve2_rev "4517a16b2aa1ecb8de235b11e9ba7666553bfc34") -set(vtd_ve2_base "https://github.com/Xilinx/VTD/raw/${vtd_ve2_rev}/archive/ve2") - -set(vtd_file "${CMAKE_CURRENT_BINARY_DIR}/xrt_smi_ve2.ar") -file(DOWNLOAD "${vtd_ve2_base}/xrt_smi_ve2.a" "${vtd_file}") - -# Same layout as VTD: .../amdxdna/bins/xrt_smi_ve2.ar and .../amdxdna/bins/aie_ddr_connections/* -set(vtd_aie_ddr_dir "${CMAKE_CURRENT_BINARY_DIR}/aie_ddr_connections") -file(MAKE_DIRECTORY "${vtd_aie_ddr_dir}") -set(vtd_aie_ddr_files - nop.elf - runner.json - recipe_latency.json - validate.xclbin - profile_start0.json - profile_start4.json - profile_start8.json - profile_start12.json - profile_start16.json - profile_start20.json - profile_start24.json - profile_start32.json - ) -foreach(_f IN LISTS vtd_aie_ddr_files) - file(DOWNLOAD "${vtd_ve2_base}/aie_ddr_connections/${_f}" "${vtd_aie_ddr_dir}/${_f}") -endforeach() - -install(FILES "${vtd_file}" - DESTINATION ${CMAKE_INSTALL_DATADIR}/amdxdna/bins/ - ) -install(DIRECTORY "${vtd_aie_ddr_dir}/" - DESTINATION ${CMAKE_INSTALL_DATADIR}/amdxdna/bins/aie_ddr_connections - ) diff --git a/src/shim_ve2/xdna_device.cpp b/src/shim_ve2/xdna_device.cpp index 84d4a7261..2ae2982b0 100644 --- a/src/shim_ve2/xdna_device.cpp +++ b/src/shim_ve2/xdna_device.cpp @@ -514,7 +514,7 @@ struct archive_path static result_type get(const xrt_core::device* device, key_type key) { - return std::string(get_shim_data_dir() + "bins/xrt_smi_ve2.ar"); + return std::string(get_shim_data_dir() + "bins/xrt_smi_ve2.a"); } };