scripts/adi_project_xilinx.tcl: Install ES1 board from XHUB, make project compile in batch mode

main
Laszlo Nagy 2021-09-01 15:59:56 +01:00 committed by Laszlo Nagy
parent 011c8c1f36
commit 222c5782b6
1 changed files with 5 additions and 0 deletions

View File

@ -112,6 +112,9 @@ proc adi_project {project_name {mode 0} {parameter_list {}} } {
}
if [regexp "_vmk180_es1$" $project_name] {
enable_beta_device xcvm*
xhub::refresh_catalog [xhub::get_xstores xilinx_board_store]
xhub::install [xhub::get_xitems xilinx.com:xilinx_board_store:vmk180_es:*] -quiet
set_param board.repoPaths [get_property LOCAL_ROOT_DIR [xhub::get_xstores xilinx_board_store]]
set device "xcvm1802-vsva2197-2MP-e-S-es1"
set board [lindex [lsearch -all -inline [get_board_parts] *vmk180_es*] end]
}
@ -310,6 +313,8 @@ proc adi_project_run {project_name} {
set_property STEPS.POST_PLACE_POWER_OPT_DESIGN.IS_ENABLED true [get_runs impl_1]
}
set_param board.repoPaths [get_property LOCAL_ROOT_DIR [xhub::get_xstores xilinx_board_store]]
launch_runs impl_1 -to_step write_bitstream
wait_on_run impl_1
open_run impl_1