Skip to content

Commit ba01ec0

Browse files
committed
corundum/ethernet: Add support for K26-based board
Signed-off-by: alin724 <alin-tudor.sferle@analog.com>
1 parent bc8b62e commit ba01ec0

File tree

3 files changed

+1285
-295
lines changed

3 files changed

+1285
-295
lines changed

library/corundum/ethernet/Makefile

Lines changed: 108 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,116 @@ LIBRARY_NAME := ethernet
22

33
XILINX_DEPS += ethernet_ip.tcl
44

5-
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_port_map_mac_axis.v
6-
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/sync_reset.v
7-
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/cmac_gty_wrapper.v
8-
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/cmac_gty_ch_wrapper.v
9-
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/rb_drp.v
10-
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/cmac_pad.v
11-
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mac_ts_insert.v
5+
GENERIC_DEPS += ethernet_core_k26.v
6+
GENERIC_DEPS += ethernet_core_vcu118.v
127

13-
EXTERNAL_DEPS += ../../../../corundum/fpga/mqnic/VCU118/fpga_100g/ip/cmac_usplus.tcl
14-
EXTERNAL_DEPS += ../../../../corundum/fpga/mqnic/VCU118/fpga_100g/ip/cmac_gty.tcl
8+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_core_axi.v
9+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_core.v
10+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_dram_if.v
11+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_interface.v
12+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_interface_tx.v
13+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_interface_rx.v
14+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_port.v
15+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_port_tx.v
16+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_port_rx.v
17+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_egress.v
18+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_ingress.v
19+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_l2_egress.v
20+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_l2_ingress.v
21+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_rx_queue_map.v
22+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_ptp.v
23+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_ptp_clock.v
24+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_ptp_perout.v
25+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_rb_clk_info.v
26+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_port_map_phy_xgmii.v
27+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/cpl_write.v
28+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/cpl_op_mux.v
29+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/desc_fetch.v
30+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/desc_op_mux.v
31+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/queue_manager.v
32+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/cpl_queue_manager.v
33+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tx_fifo.v
34+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/rx_fifo.v
35+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tx_req_mux.v
36+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tx_engine.v
37+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/rx_engine.v
38+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tx_checksum.v
39+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/rx_hash.v
40+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/rx_checksum.v
41+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/rb_drp.v
42+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/stats_counter.v
43+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/stats_collect.v
44+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/stats_dma_if_axi.v
45+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/stats_dma_latency.v
46+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/mqnic_tx_scheduler_block_rr.v
47+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tx_scheduler_rr.v
48+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tdma_scheduler.v
49+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tdma_ber.v
50+
EXTERNAL_DEPS += ../../../../corundum/fpga/common/rtl/tdma_ber_ch.v
51+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_mac_10g.v
52+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/axis_xgmii_rx_64.v
53+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/axis_xgmii_rx_32.v
54+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/axis_xgmii_tx_64.v
55+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/axis_xgmii_tx_32.v
56+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/mac_ctrl_rx.v
57+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/mac_ctrl_tx.v
58+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/mac_pause_ctrl_rx.v
59+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/mac_pause_ctrl_tx.v
60+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/lfsr.v
61+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/ptp_clock.v
62+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/ptp_clock_cdc.v
63+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/ptp_perout.v
64+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_interconnect.v
65+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_crossbar.v
66+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_crossbar_addr.v
67+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_crossbar_rd.v
68+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_crossbar_wr.v
69+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_reg_if.v
70+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_reg_if_rd.v
71+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_reg_if_wr.v
72+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_register_rd.v
73+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/axil_register_wr.v
74+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/arbiter.v
75+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/axi/rtl/priority_encoder.v
76+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/sync_reset.v
77+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_adapter.v
78+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_arb_mux.v
79+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_async_fifo.v
80+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_async_fifo_adapter.v
81+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_demux.v
82+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_fifo.v
83+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_fifo_adapter.v
84+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_pipeline_fifo.v
85+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/lib/axis/rtl/axis_register.v
86+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/irq_rate_limit.v
87+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_axi.v
88+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_axi_rd.v
89+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_axi_wr.v
90+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_mux.v
91+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_mux_rd.v
92+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_mux_wr.v
93+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_if_desc_mux.v
94+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_ram_demux_rd.v
95+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_ram_demux_wr.v
96+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_psdpram.v
97+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_client_axis_sink.v
98+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/dma_client_axis_source.v
99+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/pcie/rtl/pulse_merge.v
100+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_tx_if.v
101+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_tx.v
102+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_rx.v
103+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_rx_frame_sync.v
104+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g.v
105+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_rx_if.v
106+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_rx_ber_mon.v
107+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/eth_phy_10g_rx_watchdog.v
108+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/xgmii_baser_dec_64.v
109+
EXTERNAL_DEPS += ../../../../corundum/fpga/lib/eth/rtl/xgmii_baser_enc_64.v
15110

16111
XILINX_DEPS += ../interfaces/if_ctrl_reg.xml
17112
XILINX_DEPS += ../interfaces/if_ctrl_reg_rtl.xml
113+
XILINX_DEPS += ../interfaces/if_csr.xml
114+
XILINX_DEPS += ../interfaces/if_csr_rtl.xml
18115
XILINX_DEPS += ../interfaces/if_ptp.xml
19116
XILINX_DEPS += ../interfaces/if_ptp_rtl.xml
20117
XILINX_DEPS += ../interfaces/if_flow_control_tx.xml
@@ -29,6 +126,8 @@ XILINX_DEPS += ../interfaces/if_qspi.xml
29126
XILINX_DEPS += ../interfaces/if_qspi_rtl.xml
30127
XILINX_DEPS += ../interfaces/if_qsfp.xml
31128
XILINX_DEPS += ../interfaces/if_qsfp_rtl.xml
129+
XILINX_DEPS += ../interfaces/if_sfp.xml
130+
XILINX_DEPS += ../interfaces/if_sfp_rtl.xml
32131
XILINX_DEPS += ../interfaces/if_i2c.xml
33132
XILINX_DEPS += ../interfaces/if_i2c_rtl.xml
34133

0 commit comments

Comments
 (0)