From 011c8c1f36e15c7296668e2f8cd3ea7ba6a8567b Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 31 Aug 2021 12:33:25 +0100 Subject: [PATCH] scripts/adi_project_xilinx.tcl: Add VMK180 & VMK180_ES1 support --- projects/scripts/adi_project_xilinx.tcl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/projects/scripts/adi_project_xilinx.tcl b/projects/scripts/adi_project_xilinx.tcl index 931845578..d28385197 100644 --- a/projects/scripts/adi_project_xilinx.tcl +++ b/projects/scripts/adi_project_xilinx.tcl @@ -110,7 +110,15 @@ proc adi_project {project_name {mode 0} {parameter_list {}} } { set device "xczu9eg-ffvb1156-2-e" set board [lindex [lsearch -all -inline [get_board_parts] *zcu102*] end] } - + if [regexp "_vmk180_es1$" $project_name] { + enable_beta_device xcvm* + set device "xcvm1802-vsva2197-2MP-e-S-es1" + set board [lindex [lsearch -all -inline [get_board_parts] *vmk180_es*] end] + } + if [regexp "_vmk180$" $project_name] { + set device "xcvm1802-vsva2197-2MP-e-S" + set board [lindex [lsearch -all -inline [get_board_parts] *vmk180*] end] + } adi_project_create $project_name $mode $parameter_list $device $board } @@ -147,6 +155,8 @@ proc adi_project_create {project_name mode parameter_list device {board "not-app set sys_zynq 1 } elseif [regexp "^xczu" $p_device] { set sys_zynq 2 + } elseif [regexp "^xcv\[ecmph\]" $p_device] { + set sys_zynq 3 } else { set sys_zynq 0 }