gensoc: missing self.
authorRobert Jordens <jordens@gmail.com>
Fri, 27 Feb 2015 03:19:39 +0000 (20:19 -0700)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 27 Feb 2015 04:32:11 +0000 (21:32 -0700)
misoclib/gensoc/__init__.py

index ae880529739267d4b07c69050096e8cf6804bffa..46068cccc83f5c8aadd051a0c5bf798d169467f2 100644 (file)
@@ -193,7 +193,7 @@ class SDRAMSoC(GenSoC):
                                self.add_wb_slave(mem_decoder(self.mem_map["sdram"]), sdramcon.bus)
                        elif (sdram_width < 32):
                                self.submodules.dc = wishbone.DownConverter(32, sdram_width)
-                               self.submodules.intercon = wishbone.InterconnectPointToPoint(dc.wishbone_o, sdramcon.bus)
+                               self.submodules.intercon = wishbone.InterconnectPointToPoint(self.dc.wishbone_o, sdramcon.bus)
                                self.add_wb_slave(mem_decoder(self.mem_map["sdram"]), self.dc.wishbone_i)
                        else:
                                raise NotImplementedError("Unsupported SDRAM width of {} > 32".format(sdram_width))