From 0d560bc240d23e5afe520c209d42d27915a41e30 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 23 Oct 2023 19:25:12 +0200 Subject: [PATCH] targets/siglent_sds1104xe: Review. --- litex_boards/targets/siglent_sds1104xe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex_boards/targets/siglent_sds1104xe.py b/litex_boards/targets/siglent_sds1104xe.py index 8c95a909..5164dcca 100755 --- a/litex_boards/targets/siglent_sds1104xe.py +++ b/litex_boards/targets/siglent_sds1104xe.py @@ -104,6 +104,7 @@ class BaseSoC(SoCCore): clock_pads = self.platform.request("eth_clocks"), pads = self.platform.request("eth")) + # Etherbone. self.add_etherbone( phy = self.ethphy, ip_address = "192.168.1.51", @@ -112,7 +113,7 @@ class BaseSoC(SoCCore): interface = "hybrid", endianness = self.cpu.endianness) - ## Software Interface. + # Software Interface. ethmac = self.get_module("ethcore_etherbone").mac ethmac_region_size = (ethmac.rx_slots.constant + ethmac.tx_slots.constant)*ethmac.slot_size.constant ethmac_region = SoCRegion(origin=self.mem_map.get("ethmac", None), size=ethmac_region_size, cached=False)