mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/sdram: fix do_finalize
This commit is contained in:
parent
369086a178
commit
2d23ab7a85
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class SDRAMSoC(SoC):
|
|||
raise NotImplementedError("Unsupported SDRAM width of {} > 32".format(sdram_width))
|
||||
|
||||
def do_finalize(self):
|
||||
if not self.integrated_ram_size:
|
||||
if not self.integrated_main_ram_size:
|
||||
if not self._sdram_phy_registered:
|
||||
raise FinalizeError("Need to call SDRAMSoC.register_sdram_phy()")
|
||||
SoC.do_finalize(self)
|
||||
|
|
Loading…
Reference in a new issue