From 2d23ab7a85cb24e23d5629b457fc6bd0c6b40374 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 1 Apr 2015 22:38:04 +0200 Subject: [PATCH] soc/sdram: fix do_finalize --- misoclib/soc/sdram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2