Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions src/shim_ve2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
2 changes: 1 addition & 1 deletion src/shim_ve2/xdna_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Comment thread
chvamshi-xilinx marked this conversation as resolved.
};

Expand Down