Set names to prevent CSR/DomainRenamer incompatibility
authorJean THOMAS <git0@pub.jeanthomas.me>
Thu, 2 Jul 2020 09:02:08 +0000 (11:02 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Thu, 2 Jul 2020 09:02:08 +0000 (11:02 +0200)
gram/core/__init__.py
gram/frontend/wishbone.py

index f45a89adb5b2bd171838cc256da0e8fc7f553e5f..950a2deb2986cc13a1cfbc156f0a10a7ff1b23e1 100644 (file)
@@ -11,7 +11,7 @@ __ALL__ = ["gramCore"]
 
 class gramCore(Peripheral, Elaboratable):
     def __init__(self, phy, geom_settings, timing_settings, clk_freq, **kwargs):
-        super().__init__()
+        super().__init__("core")
 
         bank = self.csr_bank()
 
index 4756280c08ef0b1759e8353bbd0d2e885e0fd963..ccfdec1230c2c85fb6fd64bd03621f4c4acf2776 100644 (file)
@@ -13,7 +13,7 @@ from lambdasoc.periph import Peripheral
 
 class gramWishbone(Peripheral, Elaboratable):
     def __init__(self, core, data_width = 32):
-        super().__init__()
+        super().__init__(name="wishbone")
 
         self.dw = data_width
         self._port = core.crossbar.get_native_port()