From a0b7811c54686d7ca47b73abbb2e4bfc0067b714 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 11 Sep 2023 10:45:28 +0200 Subject: [PATCH] platforms/ti60_f225: Add n parameter to rgmii_ethernet_qse_ios to allow having multiple adapters. --- litex_boards/platforms/efinix_titanium_ti60_f225_dev_kit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litex_boards/platforms/efinix_titanium_ti60_f225_dev_kit.py b/litex_boards/platforms/efinix_titanium_ti60_f225_dev_kit.py index 552098f..e5a403f 100644 --- a/litex_boards/platforms/efinix_titanium_ti60_f225_dev_kit.py +++ b/litex_boards/platforms/efinix_titanium_ti60_f225_dev_kit.py @@ -160,14 +160,14 @@ _connectors = [ # QSE Extensions ----------------------------------------------------------------------------------- -def rgmii_ethernet_qse_ios(con): +def rgmii_ethernet_qse_ios(con, n=""): return [ - ("eth_clocks", 0, + (f"eth{n}_clocks", 0, Subsignal("tx", Pins(f"{con}:26")), Subsignal("rx", Pins(f"{con}:2")), IOStandard("1.8_V_LVCMOS"), ), - ("eth", 0, + (f"eth{n}", 0, Subsignal("rx_ctl", Pins(f"{con}:27")), Subsignal("rx_data", Pins(f"{con}:21 {con}:19 {con}:15 {con}:13")), Subsignal("tx_ctl", Pins(f"{con}:20")),