Skip to content

Commit 505efbd

Browse files
projects/ad9082: Updated project to support the Corundum network stack
Signed-off-by: Istvan-Zsolt Szekely <[email protected]>
1 parent 044c46a commit 505efbd

File tree

3 files changed

+58
-8
lines changed

3 files changed

+58
-8
lines changed

projects/ad9081_fmca_ebz/vcu118/system_bd.tcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@ if {$ad_project_params(JESD_MODE) == "64B66B"} {
144144

145145
}
146146

147-
ad_ip_parameter axi_ddr_cntrl CONFIG.C0_CLOCK_BOARD_INTERFACE default_250mhz_clk1
148-
ad_ip_parameter axi_ddr_cntrl CONFIG.C0_DDR4_BOARD_INTERFACE ddr4_sdram_c1_062
149-
150147
if {$ad_project_params(CORUNDUM) == "1"} {
151148

152149
source $ad_hdl_dir/library/corundum/scripts/corundum_vcu118_cfg.tcl

projects/ad9082_fmca_ebz/vcu118/Makefile

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
####################################################################################
2-
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
2+
## Copyright (c) 2018 - 2025 Analog Devices, Inc.
33
### SPDX short identifier: BSD-1-Clause
44
## Auto-generated, do not modify!
55
####################################################################################
@@ -46,4 +46,30 @@ LIB_DEPS += util_pack/util_upack2
4646
LIB_DEPS += xilinx/axi_adxcvr
4747
LIB_DEPS += xilinx/util_adxcvr
4848

49+
CORUNDUM ?= 0
50+
51+
ifeq ($(CORUNDUM), 1)
52+
export BOARD := VCU118
53+
export CPU := MB
54+
55+
M_DEPS += ../../ad9081_fmca_ebz/vcu118/system_constr_corundum.xdc
56+
57+
M_DEPS += $(ADI_HDL_DIR)/library/corundum/scripts/corundum_vcu118_cfg.tcl
58+
M_DEPS += $(ADI_HDL_DIR)/library/corundum/scripts/corundum.tcl
59+
M_DEPS += $(ADI_HDL_DIR)/library/corundum/scripts/sync_reset.tcl
60+
61+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/common/syn/vivado/rb_drp.tcl
62+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/common/syn/vivado/cmac_gty_wrapper.tcl
63+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/common/syn/vivado/cmac_gty_ch_wrapper.tcl
64+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/common/syn/vivado/mqnic_rb_clk_info.tcl
65+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/common/syn/vivado/mqnic_ptp_clock.tcl
66+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/common/syn/vivado/mqnic_port.tcl
67+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/lib/eth/lib/axis/syn/vivado/axis_async_fifo.tcl
68+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/lib/eth/syn/vivado/ptp_td_leaf.tcl
69+
EXTERNAL_DEPS += $(ADI_HDL_DIR)/../corundum/fpga/lib/eth/syn/vivado/ptp_td_rel2tod.tcl
70+
71+
LIB_DEPS += corundum/corundum_core
72+
LIB_DEPS += corundum/ethernet/vcu118
73+
endif
74+
4975
include ../../scripts/project-xilinx.mk

projects/ad9082_fmca_ebz/vcu118/system_project.tcl

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
###############################################################################
2-
## Copyright (C) 2019-2024 Analog Devices, Inc. All rights reserved.
2+
## Copyright (C) 2019-2025 Analog Devices, Inc. All rights reserved.
33
### SPDX short identifier: ADIBSD
44
###############################################################################
55

@@ -49,22 +49,49 @@ adi_project ad9082_fmca_ebz_vcu118 0 [list \
4949
TX_NUM_LINKS [get_env_param TX_NUM_LINKS 1 ] \
5050
RX_KS_PER_CHANNEL [get_env_param RX_KS_PER_CHANNEL 64 ] \
5151
TX_KS_PER_CHANNEL [get_env_param TX_KS_PER_CHANNEL 64 ] \
52+
CORUNDUM [get_env_param CORUNDUM 0 ] \
5253
]
5354

5455
adi_project_files ad9082_fmca_ebz_vcu118 [list \
55-
"../../ad9081_fmca_ebz/vcu118/system_top.v" \
5656
"../../ad9081_fmca_ebz/vcu118/system_constr.xdc"\
5757
"../../ad9081_fmca_ebz/vcu118/timing_constr.xdc"\
5858
"../../../library/common/ad_3w_spi.v"\
5959
"$ad_hdl_dir/library/common/ad_iobuf.v" \
60-
"$ad_hdl_dir/projects/common/vcu118/vcu118_system_constr.xdc" ]
60+
"$ad_hdl_dir/projects/common/vcu118/vcu118_system_constr.xdc" \
61+
]
62+
63+
if {[get_env_param CORUNDUM 0] == 1} {
64+
adi_project_files ad9082_fmca_ebz_vcu118 [list \
65+
"../../ad9081_fmca_ebz/vcu118/system_constr_corundum.xdc" \
66+
"../../ad9081_fmca_ebz/vcu118/system_top_corundum.v" \
67+
"$ad_hdl_dir/../corundum/fpga/mqnic/VCU118/fpga_100g/boot.xdc" \
68+
"$ad_hdl_dir/../corundum/fpga/mqnic/VCU118/fpga_100g/rtl/sync_signal.v" \
69+
]
70+
71+
add_files -fileset constrs_1 -norecurse [list \
72+
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/rb_drp.tcl" \
73+
"$ad_hdl_dir/library/corundum/scripts/sync_reset.tcl" \
74+
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/cmac_gty_wrapper.tcl" \
75+
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/cmac_gty_ch_wrapper.tcl" \
76+
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/mqnic_rb_clk_info.tcl" \
77+
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/mqnic_ptp_clock.tcl" \
78+
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/mqnic_port.tcl" \
79+
"$ad_hdl_dir/../corundum/fpga/lib/eth/lib/axis/syn/vivado/axis_async_fifo.tcl" \
80+
"$ad_hdl_dir/../corundum/fpga/lib/eth/syn/vivado/ptp_td_leaf.tcl" \
81+
"$ad_hdl_dir/../corundum/fpga/lib/eth/syn/vivado/ptp_td_rel2tod.tcl" \
82+
]
83+
} else {
84+
adi_project_files ad9082_fmca_ebz_vcu118 [list \
85+
"../../ad9081_fmca_ebz/vcu118/system_top.v" \
86+
]
87+
}
6188

6289
# Avoid critical warning in OOC mode from the clock definitions
6390
# since at that stage the submodules are not stiched together yet
6491
if {$ADI_USE_OOC_SYNTHESIS == 1} {
6592
set_property used_in_synthesis false [get_files timing_constr.xdc]
6693
}
6794

68-
set_property strategy Performance_ExtraTimingOpt [get_runs impl_1]
95+
set_property strategy Congestion_SpreadLogic_high [get_runs impl_1]
6996

7097
adi_project_run ad9082_fmca_ebz_vcu118

0 commit comments

Comments
 (0)