diff --git a/src/cndm_proto/board/AS02MC04/fpga/rtl/fpga_core.sv b/src/cndm_proto/board/AS02MC04/fpga/rtl/fpga_core.sv index cfb6831..8a84451 100644 --- a/src/cndm_proto/board/AS02MC04/fpga/rtl/fpga_core.sv +++ b/src/cndm_proto/board/AS02MC04/fpga/rtl/fpga_core.sv @@ -226,7 +226,8 @@ taxi_eth_mac_25g_us #( // MAC/PHY config .COMBINED_MAC_PCS(COMBINED_MAC_PCS), - .DATA_W(MAC_DATA_W), + .DATA_W(axis_sfp_tx[0].DATA_W), + .USXGMII_EN(COMBINED_MAC_PCS && axis_sfp_tx[0].DATA_W == 32), .DIC_EN(1'b1), .PTP_TS_EN(1'b0), .PTP_TD_EN(1'b0), @@ -296,6 +297,26 @@ sfp_mac_inst ( */ .m_axis_rx(axis_sfp_rx), + /* + * USXGMII autonegotiation + */ + .an_en('{2{1'b1}}), + .an_restart('{2{1'b0}}), + .an_speedup('{2{1'b0}}), + .an_timeout_en('{2{1'b1}}), + .an_usxgmii_en('{2{1'b0}}), + .an_usxgmii_auto('{2{1'b1}}), + .an_intr(), + .an_running(), + .an_complete(), + .an_timeout(), + .an_usxgmii_mode(), + .an_adv_ability_usxgmii('{2{16'h1601}}), + .an_lp_adv_ability(), + .an_lp_usxgmii_link(), + .an_lp_usxgmii_speed(), + .an_res_full_duplex(), + /* * PTP clock */