2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
|
|
|
|
2022-07-12 11:06: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
|
2016-05-20 15:46:25 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_board.tcl
|
|
|
|
|
2022-01-11 12:06:45 +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=4 RX_JESD_M=2 TX_JESD_L=4 TX_JESD_M=2
|
|
|
|
|
|
|
|
# Parameter description:
|
|
|
|
# [TX/RX/RX_OS]_JESD_M : Number of converters per link
|
|
|
|
# [TX/RX/RX_OS]_JESD_L : Number of lanes per link
|
|
|
|
# [TX/RX/RX_OS]_JESD_S : Number of samples per frame
|
|
|
|
# [TX/RX/RX_OS]_JESD_NP : Number of bits per sample
|
|
|
|
|
|
|
|
adi_project adrv9371x_zc706 0 [list \
|
|
|
|
TX_JESD_M [get_env_param TX_JESD_M 4 ] \
|
|
|
|
TX_JESD_L [get_env_param TX_JESD_L 4 ] \
|
|
|
|
TX_JESD_S [get_env_param TX_JESD_S 1 ] \
|
|
|
|
RX_JESD_M [get_env_param RX_JESD_M 4 ] \
|
|
|
|
RX_JESD_L [get_env_param RX_JESD_L 2 ] \
|
|
|
|
RX_JESD_S [get_env_param RX_JESD_S 1 ] \
|
|
|
|
RX_OS_JESD_M [get_env_param RX_OS_JESD_M 2 ] \
|
|
|
|
RX_OS_JESD_L [get_env_param RX_OS_JESD_L 2 ] \
|
|
|
|
RX_OS_JESD_S [get_env_param RX_OS_JESD_S 1 ] \
|
|
|
|
]
|
|
|
|
|
2016-05-20 15:46:25 +00:00
|
|
|
adi_project_files adrv9371x_zc706 [list \
|
|
|
|
"system_top.v" \
|
|
|
|
"system_constr.xdc"\
|
2020-09-23 08:30:18 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_iobuf.v" \
|
2019-06-24 13:16:43 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_bus_mux.v" \
|
|
|
|
"$ad_hdl_dir/library/common/util_pulse_gen.v" \
|
2017-02-22 20:56:37 +00:00
|
|
|
"$ad_hdl_dir/projects/common/zc706/zc706_plddr3_constr.xdc" \
|
2016-05-20 15:46:25 +00:00
|
|
|
"$ad_hdl_dir/projects/common/zc706/zc706_system_constr.xdc" ]
|
|
|
|
|
|
|
|
adi_project_run adrv9371x_zc706
|
|
|
|
|
|
|
|
|