From e14e9294c563cb22ef9083690c7c15c4b67a986f Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Fri, 16 Oct 2015 14:13:56 -0400 Subject: [PATCH] project-names -- variables causes scripts to fail- too much parsing --- projects/ad9265_fmc/zc706/system_project.tcl | 17 ++++++++--------- projects/ad9434_fmc/zc706/system_project.tcl | 17 ++++++++--------- projects/ad9467_fmc/kc705/system_project.tcl | 17 ++++++++--------- projects/ad9467_fmc/zed/system_project.tcl | 17 ++++++++--------- 4 files changed, 32 insertions(+), 36 deletions(-) diff --git a/projects/ad9265_fmc/zc706/system_project.tcl b/projects/ad9265_fmc/zc706/system_project.tcl index 7c44208aa..17e5cab4e 100644 --- a/projects/ad9265_fmc/zc706/system_project.tcl +++ b/projects/ad9265_fmc/zc706/system_project.tcl @@ -3,14 +3,13 @@ source ../../scripts/adi_env.tcl source $ad_hdl_dir/projects/scripts/adi_project.tcl source $ad_hdl_dir/projects/scripts/adi_board.tcl -set project_name ad9265_fmc_zc706 +adi_project_create ad9265_fmc_zc706 +adi_project_files ad9265_fmc_zc706 [list \ + "../common/ad9265_spi.v" \ + "system_top.v" \ + "system_constr.xdc" \ + "$ad_hdl_dir/library/common/ad_iobuf.v" \ + "$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"] -adi_project_create $project_name +adi_project_run ad9265_fmc_zc706 -adi_project_files $project_name [list "../common/ad9265_spi.v" \ - "system_top.v" \ - "system_constr.xdc" \ - "$ad_hdl_dir/library/common/ad_iobuf.v" \ - "$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"] - -adi_project_run $project_name diff --git a/projects/ad9434_fmc/zc706/system_project.tcl b/projects/ad9434_fmc/zc706/system_project.tcl index 3088949cb..090308c24 100644 --- a/projects/ad9434_fmc/zc706/system_project.tcl +++ b/projects/ad9434_fmc/zc706/system_project.tcl @@ -3,14 +3,13 @@ source ../../scripts/adi_env.tcl source $ad_hdl_dir/projects/scripts/adi_project.tcl source $ad_hdl_dir/projects/scripts/adi_board.tcl -set project_name ad9434_fmc_zc706 +adi_project_create ad9434_fmc_zc706 +adi_project_files ad9434_fmc_zc706 [list \ + "../common/ad9434_spi.v" \ + "system_top.v" \ + "system_constr.xdc" \ + "$ad_hdl_dir/library/common/ad_iobuf.v" \ + "$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"] -adi_project_create $project_name +adi_project_run ad9434_fmc_zc706 -adi_project_files $project_name [list "../common/ad9434_spi.v" \ - "system_top.v" \ - "system_constr.xdc" \ - "$ad_hdl_dir/library/common/ad_iobuf.v" \ - "$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"] - -adi_project_run $project_name diff --git a/projects/ad9467_fmc/kc705/system_project.tcl b/projects/ad9467_fmc/kc705/system_project.tcl index 112a1c0b8..8e0368385 100644 --- a/projects/ad9467_fmc/kc705/system_project.tcl +++ b/projects/ad9467_fmc/kc705/system_project.tcl @@ -3,14 +3,13 @@ source ../../scripts/adi_env.tcl source $ad_hdl_dir/projects/scripts/adi_project.tcl source $ad_hdl_dir/projects/scripts/adi_board.tcl -set project_name ad9467_fmc_kc705 +adi_project_create ad9467_fmc_kc705 +adi_project_files ad9467_fmc_kc705 [list \ + "../common/ad9467_spi.v" \ + "$ad_hdl_dir/library/common/ad_iobuf.v" \ + "system_top.v" \ + "system_constr.xdc" \ + "$ad_hdl_dir/projects/common/kc705/kc705_system_constr.xdc"] -adi_project_create $project_name +adi_project_run ad9467_fmc_kc705 -adi_project_files $project_name [list "../common/ad9467_spi.v" \ - "$ad_hdl_dir/library/common/ad_iobuf.v" \ - "system_top.v" \ - "system_constr.xdc" \ - "$ad_hdl_dir/projects/common/kc705/kc705_system_constr.xdc"] - -adi_project_run $project_name diff --git a/projects/ad9467_fmc/zed/system_project.tcl b/projects/ad9467_fmc/zed/system_project.tcl index 7e82a8f98..6e503e355 100644 --- a/projects/ad9467_fmc/zed/system_project.tcl +++ b/projects/ad9467_fmc/zed/system_project.tcl @@ -3,14 +3,13 @@ source ../../scripts/adi_env.tcl source $ad_hdl_dir/projects/scripts/adi_project.tcl source $ad_hdl_dir/projects/scripts/adi_board.tcl -set project_name ad9467_fmc_zed +adi_project_create ad9467_fmc_zed +adi_project_files ad9467_fmc_zed [list \ + "../common/ad9467_spi.v" \ + "$ad_hdl_dir/library/common/ad_iobuf.v" \ + "system_top.v" \ + "system_constr.xdc" \ + "$ad_hdl_dir/projects/common/zed/zed_system_constr.xdc"] -adi_project_create $project_name +adi_project_run ad9467_fmc_zed -adi_project_files $project_name [list "../common/ad9467_spi.v" \ - "$ad_hdl_dir/library/common/ad_iobuf.v" \ - "system_top.v" \ - "system_constr.xdc" \ - "$ad_hdl_dir/projects/common/zed/zed_system_constr.xdc"] - -adi_project_run $project_name