Skip to content

Commit

Permalink
integration/soc_sdram: fix SoCSDRAM with LASMIcon
Browse files Browse the repository at this point in the history
enjoy-digital committed Mar 4, 2016
1 parent 7aaec80 commit 1a49140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misoc/integration/soc_sdram.py
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ def get_native_sdram_if(self):
self._native_sdram_ifs.append(bus)
return bus
elif isinstance(self.sdram_controller, lasmicon.LASMIcon):
return self.sdram_controller.crossbar.get_master()
return self.lasmi_crossbar.get_master()
else:
raise TypeError

@@ -107,6 +107,7 @@ def register_sdram(self, phy, sdram_controller_type, geom_settings, timing_setti
[self.sdram_controller.lasmic],
self.sdram_controller.nrowbits)

bridge_if = self.get_native_sdram_if()
if self.l2_size:
l2_cache = wishbone.Cache(self.l2_size//4,
self._cpulevel_sdram_if_arbitrated,

0 comments on commit 1a49140

Please sign in to comment.