From 228e44a059ef46fd8924a7393bfb687ff28013fa Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 30 Oct 2019 21:39:00 +0800 Subject: [PATCH] sayma: enable Ethernet on DRTIO satellite variant So that netboot can be used in bootloader. --- artiq/gateware/targets/sayma_amc.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/artiq/gateware/targets/sayma_amc.py b/artiq/gateware/targets/sayma_amc.py index b3533081e..3694068fb 100755 --- a/artiq/gateware/targets/sayma_amc.py +++ b/artiq/gateware/targets/sayma_amc.py @@ -45,17 +45,20 @@ class RTMUARTForward(Module): ] -class SatelliteBase(BaseSoC): +class SatelliteBase(MiniSoC): mem_map = { "drtioaux": 0x14000000, } - mem_map.update(BaseSoC.mem_map) + mem_map.update(MiniSoC.mem_map) def __init__(self, rtio_clk_freq=125e6, identifier_suffix="", **kwargs): - BaseSoC.__init__(self, + MiniSoC.__init__(self, cpu_type="or1k", sdram_controller_type="minicon", l2_size=128*1024, + integrated_sram_size=8192, + ethmac_nrxslots=4, + ethmac_ntxslots=4, **kwargs) add_identifier(self, suffix=identifier_suffix) self.rtio_clk_freq = rtio_clk_freq