From: Florent Kermarrec Date: Wed, 1 Apr 2015 20:38:04 +0000 (+0200) Subject: soc/sdram: fix do_finalize X-Git-Tag: 24jan2021_ls180~2407^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d23ab7a85cb24e23d5629b457fc6bd0c6b40374;p=litex.git soc/sdram: fix do_finalize --- diff --git a/misoclib/soc/sdram.py b/misoclib/soc/sdram.py index d921285a..a878727a 100644 --- a/misoclib/soc/sdram.py +++ b/misoclib/soc/sdram.py @@ -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)