2015-06-26 09:04:19 +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-06-26 09:04:19 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_board.tcl
|
|
|
|
|
2021-12-23 09:04:47 +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:
|
|
|
|
# [RX/TX]_JESD_M : Number of converters per link
|
|
|
|
# [RX/TX]_JESD_L : Number of lanes per link
|
|
|
|
# [RX/TX]_JESD_S : Number of samples per frame
|
|
|
|
|
|
|
|
adi_project daq2_kcu105 0 [list \
|
|
|
|
RX_JESD_M [get_env_param RX_JESD_M 2 ] \
|
|
|
|
RX_JESD_L [get_env_param RX_JESD_L 4 ] \
|
|
|
|
RX_JESD_S [get_env_param RX_JESD_S 1 ] \
|
|
|
|
TX_JESD_M [get_env_param TX_JESD_M 2 ] \
|
|
|
|
TX_JESD_L [get_env_param TX_JESD_L 4 ] \
|
|
|
|
TX_JESD_S [get_env_param TX_JESD_S 1 ] \
|
|
|
|
]
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
adi_project_files daq2_kcu105 [list \
|
|
|
|
"../common/daq2_spi.v" \
|
|
|
|
"system_top.v" \
|
|
|
|
"system_constr.xdc"\
|
2020-09-23 08:30:18 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_iobuf.v" \
|
2015-06-26 09:04:19 +00:00
|
|
|
"$ad_hdl_dir/projects/common/kcu105/kcu105_system_constr.xdc" ]
|
|
|
|
|
2018-09-26 11:22:53 +00:00
|
|
|
## To improve timing in DDR4 MIG
|
|
|
|
set_property strategy Performance_Retiming [get_runs impl_1]
|
|
|
|
|
2015-06-26 09:04:19 +00:00
|
|
|
adi_project_run daq2_kcu105
|
|
|
|
|