remove blackbox attribute on SPBlock_512W64B8W
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Mar 2021 00:31:32 +0000 (00:31 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Mar 2021 00:31:32 +0000 (00:31 +0000)
src/soc/bus/SPBlock512W64B8W.py

index e8613e55fc788abbdf15d65973e245ee8fb90d4a..02c4760cea80b847b03d9595593217d62fecfb64 100644 (file)
@@ -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