scripts/adi_project_xilinx.tcl: Add VMK180 & VMK180_ES1 support

main
Laszlo Nagy 2021-08-31 12:33:25 +01:00 committed by Laszlo Nagy
parent c22f622599
commit 011c8c1f36
1 changed files with 11 additions and 1 deletions

View File

@ -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
}