From 7912f688788e57ce52eb0357f5b33b19dc11e60c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 6 Mar 2021 00:31:32 +0000 Subject: [PATCH] remove blackbox attribute on SPBlock_512W64B8W --- src/soc/bus/SPBlock512W64B8W.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/bus/SPBlock512W64B8W.py b/src/soc/bus/SPBlock512W64B8W.py index e8613e55..02c4760c 100644 --- a/src/soc/bus/SPBlock512W64B8W.py +++ b/src/soc/bus/SPBlock512W64B8W.py @@ -47,7 +47,8 @@ class SPBlock512W64B8W(Elaboratable): sram = Instance("SPBlock_512W64B8W", i_a=a, o_q=q, i_d=d, i_we=we, i_clk=ClockSignal()) m.submodules += sram - sram.attrs['blackbox'] = 1 + # has to be added to the actual module rather than the instance + # sram.attrs['blackbox'] = 1 with m.If(self.enable): # in case of layout problems # wishbone is active if cyc and stb set -- 2.30.2