pluto_hdl_adi/projects/ad7616_sdz/zc706/system_project.tcl

35 lines
894 B
Tcl
Raw Normal View History

2015-11-03 13:03:35 +00:00
source ../../scripts/adi_env.tcl
source $ad_hdl_dir/projects/scripts/adi_project.tcl
source $ad_hdl_dir/projects/scripts/adi_board.tcl
set ad7616_interface "serial"
#set ad7616_interface "parallel"
adi_project_create ad7616_sdz_zc706
if { $ad7616_interface eq "serial" } {
2015-11-03 13:03:35 +00:00
adi_project_files ad7616_sdz_zc706 [list \
"$ad_hdl_dir/library/common/ad_iobuf.v" \
"system_top.v" \
"serial_if_constr.xdc" \
"$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"]
} elseif { $ad7616_interface eq "parallel" } {
2015-11-03 13:03:35 +00:00
adi_project_files ad7616_sdz_zc706 [list \
"$ad_hdl_dir/library/common/ad_iobuf.v" \
"system_top.v" \
"parallel_if_constr.xdc" \
"$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"]
} else {
2015-11-03 13:03:35 +00:00
return -code error [format "ERROR: Invalid interface type! Define as \'serial\' or \'parallel\' ..."]
2015-11-03 13:03:35 +00:00
}
adi_project_run ad7616_sdz_zc706