From ddc7422700fc85bf0ddc61b98c3e34af34877abb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 24 May 2021 18:21:00 +0100 Subject: [PATCH] whoops sort out name of SPBlock RAM --- src/soc/bus/SPBlock512W64B8W.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/bus/SPBlock512W64B8W.py b/src/soc/bus/SPBlock512W64B8W.py index 9b25f104..994f9626 100644 --- a/src/soc/bus/SPBlock512W64B8W.py +++ b/src/soc/bus/SPBlock512W64B8W.py @@ -52,7 +52,7 @@ class SPBlock512W64B8W(Elaboratable): sram = Instance("spblock_512w64b8w", i_a=a, o_q=q, i_d=d, i_we=we, i_clk=ClockSignal()) - m.submodules['spblock_512w64b8w_%s'] = sram + m.submodules['spblock_512w64b8w_%d' % self.idx] = sram # has to be added to the actual module rather than the instance # sram.attrs['blackbox'] = 1 -- 2.30.2