From 4a102d7ed65ebc7a62443934206162bc30a54079 Mon Sep 17 00:00:00 2001 From: Reinier van der Walle <walle@astron.nl> Date: Tue, 10 Dec 2019 14:16:43 +0100 Subject: [PATCH] Replaced dp_fifo_fill_dc with dp_fifo_fill_eop in tr_10GbE --- libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd b/libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd index 0554a39199..df979c50d6 100644 --- a/libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd +++ b/libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd @@ -229,17 +229,18 @@ BEGIN ); --------------------------------------------------------------------------------------- - -- TX: FIFO: dp_clk -> tx_clk and with fill level so we can deliver packets to the MAC fast enough + -- TX: FIFO: dp_clk -> tx_clk and with fill level/eop trigger so we can deliver packets to the MAC fast enough --------------------------------------------------------------------------------------- - gen_dp_fifo_fill_dc : FOR i IN 0 TO g_nof_macs-1 GENERATE - u_dp_fifo_fill_dc : ENTITY dp_lib.dp_fifo_fill_dc + gen_dp_fifo_fill_eop : FOR i IN 0 TO g_nof_macs-1 GENERATE + u_dp_fifo_fill_eop : ENTITY dp_lib.dp_fifo_fill_eop GENERIC MAP ( - g_technology => g_technology, - g_data_w => c_xgmii_data_w, - g_empty_w => c_tech_mac_10g_empty_w, - g_use_empty => TRUE, - g_fifo_fill => g_tx_fifo_fill, - g_fifo_size => g_tx_fifo_size + g_technology => g_technology, + g_use_dual_clock => TRUE, + g_data_w => c_xgmii_data_w, + g_empty_w => c_tech_mac_10g_empty_w, + g_use_empty => TRUE, + g_fifo_fill => g_tx_fifo_fill, + g_fifo_size => g_tx_fifo_size ) PORT MAP ( wr_rst => dp_rst, -- GitLab