From 99e122a353189af262320c327a6ca6eead8adad0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 16 Jun 2020 14:00:12 +0100 Subject: [PATCH] weird: adding TestMemory with no port causes nmigen recursion-exceeded --- src/soc/simple/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index c013ed2a..aea3ea99 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -58,7 +58,7 @@ class NonProductionCore(Elaboratable): pi = self.l0.l0.dports[0].pi # Test Instruction memory - self.imem = TestMemory(32, idepth) + #self.imem = TestMemory(32, idepth) # function units (only one each) self.fus = AllFunctionUnits(pilist=[pi], addrwid=addrwid) @@ -85,7 +85,7 @@ class NonProductionCore(Elaboratable): m.submodules.pdecode2 = dec2 = self.pdecode2 m.submodules.fus = self.fus m.submodules.l0 = l0 = self.l0 - m.submodules.imem = imem = self.imem + #m.submodules.imem = imem = self.imem self.regs.elaborate_into(m, platform) regs = self.regs fus = self.fus.fus -- 2.30.2