2014-12-08 15:44:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
source ../../scripts/adi_env.tcl
|
2018-08-14 08:43:32 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_project_xilinx.tcl
|
2015-03-26 19:07:15 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_board.tcl
|
2014-12-08 15:44:15 +00:00
|
|
|
|
2021-12-07 16:33:27 +00:00
|
|
|
# get_env_param retrieves parameter value from the environment if exists,
|
|
|
|
# other case use the default value
|
|
|
|
#
|
|
|
|
# Use over-writable parameters from the environment.
|
|
|
|
#
|
|
|
|
# e.g.
|
|
|
|
# make RX_JESD_L=8
|
|
|
|
|
|
|
|
# Parameter description:
|
|
|
|
# RX_JESD_M : Number of converters per link
|
|
|
|
# RX_JESD_L : Number of lanes per link
|
|
|
|
# RX_JESD_S : Number of samples per frame
|
|
|
|
# RX_JESD_NP : Number of bits per sample
|
|
|
|
|
|
|
|
adi_project fmcadc2_vc707 0 [list \
|
|
|
|
RX_JESD_M [get_env_param RX_JESD_M 1 ] \
|
|
|
|
RX_JESD_L [get_env_param RX_JESD_L 8 ] \
|
|
|
|
RX_JESD_S [get_env_param RX_JESD_S 4 ] \
|
|
|
|
RX_JESD_NP [get_env_param RX_JESD_NP 16] \
|
|
|
|
]
|
|
|
|
|
2014-12-08 15:44:15 +00:00
|
|
|
adi_project_files fmcadc2_vc707 [list \
|
|
|
|
"../common/fmcadc2_spi.v" \
|
|
|
|
"system_top.v" \
|
2015-03-26 19:07:15 +00:00
|
|
|
"system_constr.xdc" \
|
2020-09-23 08:30:18 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_iobuf.v" \
|
2016-12-19 12:16:05 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_sysref_gen.v" \
|
2014-12-08 15:44:15 +00:00
|
|
|
"$ad_hdl_dir/projects/common/vc707/vc707_system_constr.xdc" ]
|
|
|
|
|
2016-12-13 17:15:44 +00:00
|
|
|
set_property is_enabled false [get_files *system_axi*_spi*.xdc]
|
|
|
|
|
2014-12-08 15:44:15 +00:00
|
|
|
adi_project_run fmcadc2_vc707
|
|
|
|
|
|
|
|
|