2016-11-21 14:45:10 +00:00
|
|
|
## requires partial reconfiguration license
|
2015-06-26 09:04:19 +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
|
|
|
|
|
2017-01-27 14:26:53 +00:00
|
|
|
set mode 1
|
2016-11-21 14:45:10 +00:00
|
|
|
if {$::argc > 0} {
|
|
|
|
set mode [lindex $argv 0]
|
|
|
|
}
|
|
|
|
|
|
|
|
if {$mode == 0} {
|
|
|
|
|
|
|
|
adi_project_create fmcomms2_zc706
|
|
|
|
adi_project_files fmcomms2_zc706 [list \
|
|
|
|
"$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc" \
|
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_iobuf.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/common/prcfg_top.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/default/prcfg_dac.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/default/prcfg_adc.v" \
|
|
|
|
"../common/prcfg.v" \
|
|
|
|
"../zc706/system_constr.xdc" \
|
|
|
|
"system_top.v" ]
|
|
|
|
|
|
|
|
adi_project_run fmcomms2_zc706
|
|
|
|
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
adi_project_create fmcomms2_zc706 1
|
|
|
|
adi_project_synth fmcomms2_zc706 "" \
|
2015-10-09 10:19:09 +00:00
|
|
|
[list "system_top.v" \
|
2015-10-13 08:37:44 +00:00
|
|
|
"../common/prcfg_bb.v" \
|
2016-08-05 15:00:34 +00:00
|
|
|
"$ad_hdl_dir/library/xilinx/common/ad_iobuf.v"] \
|
2015-06-26 09:04:19 +00:00
|
|
|
[list "../zc706/system_constr.xdc" \
|
|
|
|
"$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc"]
|
|
|
|
|
|
|
|
adi_project_synth fmcomms2_zc706 "default" \
|
|
|
|
[list "../common/prcfg.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/common/prcfg_top.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/default/prcfg_dac.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/default/prcfg_adc.v"]
|
2015-10-09 10:19:09 +00:00
|
|
|
adi_project_impl fmcomms2_zc706 "default" \
|
|
|
|
[list "../common/prcfg.xdc" \
|
|
|
|
"system_constr.xdc"]
|
2015-06-26 09:04:19 +00:00
|
|
|
|
|
|
|
adi_project_synth fmcomms2_zc706 "bist" \
|
|
|
|
[list "../common/prcfg.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/common/prcfg_top.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_pnmon.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/bist/prcfg_dac.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/bist/prcfg_adc.v"]
|
2015-10-09 10:19:09 +00:00
|
|
|
adi_project_impl fmcomms2_zc706 "bist" "system_constr.xdc"
|
2015-06-26 09:04:19 +00:00
|
|
|
|
|
|
|
adi_project_synth fmcomms2_zc706 "qpsk" \
|
|
|
|
[list "../common/prcfg.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/common/prcfg_top.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_pnmon.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/prcfg_dac.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/prcfg_adc.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/qpsk_mod.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/qpsk_demod.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/QPSK_Modulator_Baseband.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/QPSK_Demodulator_Baseband.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/FIR_Interpolation.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/FIR_Decimation.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/Raised_Cosine_Transmit_Filter.v" \
|
|
|
|
"$ad_hdl_dir/library/prcfg/qpsk/Raised_Cosine_Receive_Filter.v"]
|
2015-10-09 10:19:09 +00:00
|
|
|
adi_project_impl fmcomms2_zc706 "qpsk" "system_constr.xdc"
|
2015-06-26 09:04:19 +00:00
|
|
|
|
|
|
|
adi_project_verify fmcomms2_zc706
|
|
|
|
|