gensoc: missing self.
This commit is contained in:
parent
a3909bb5e2
commit
c9ed38dec8
|
@ -193,7 +193,7 @@ class SDRAMSoC(GenSoC):
|
||||||
self.add_wb_slave(mem_decoder(self.mem_map["sdram"]), sdramcon.bus)
|
self.add_wb_slave(mem_decoder(self.mem_map["sdram"]), sdramcon.bus)
|
||||||
elif (sdram_width < 32):
|
elif (sdram_width < 32):
|
||||||
self.submodules.dc = wishbone.DownConverter(32, sdram_width)
|
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)
|
self.add_wb_slave(mem_decoder(self.mem_map["sdram"]), self.dc.wishbone_i)
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError("Unsupported SDRAM width of {} > 32".format(sdram_width))
|
raise NotImplementedError("Unsupported SDRAM width of {} > 32".format(sdram_width))
|
||||||
|
|
Loading…
Reference in New Issue