From b79fb2d0234d5f55f56b7d0a6094697111f91331 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 2 Jul 2020 11:02:08 +0200 Subject: [PATCH] Set names to prevent CSR/DomainRenamer incompatibility --- gram/core/__init__.py | 2 +- gram/frontend/wishbone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() -- 2.30.2