From: Jean THOMAS Date: Thu, 2 Jul 2020 09:02:08 +0000 (+0200) Subject: Set names to prevent CSR/DomainRenamer incompatibility X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b79fb2d0234d5f55f56b7d0a6094697111f91331;p=gram.git Set names to prevent CSR/DomainRenamer incompatibility --- diff --git a/gram/core/__init__.py b/gram/core/__init__.py index f45a89a..950a2de 100644 --- a/gram/core/__init__.py +++ b/gram/core/__init__.py @@ -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() diff --git a/gram/frontend/wishbone.py b/gram/frontend/wishbone.py index 4756280..ccfdec1 100644 --- a/gram/frontend/wishbone.py +++ b/gram/frontend/wishbone.py @@ -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()