test minicon with de0nano (OK) and fix missing self in gensoc
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 27 Feb 2015 19:00:16 +0000 (20:00 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 27 Feb 2015 19:00:16 +0000 (20:00 +0100)
misoclib/gensoc/__init__.py

index fe1235c085a317a3625be6a53f1ab7a9689708b6..a9885e4d36c980b92633995872923b46ddf21b3d 100644 (file)
@@ -245,7 +245,7 @@ class SDRAMSoC(GenSoC):
 
                # MINICON
                elif self.ramcon_type == "minicon":
-                       if with_l2:
+                       if self.with_l2:
                                raise ValueError("MINICON does not implement L2 cache (Use LASMICON)")
 
                        self.submodules.minicon = sdramcon = Minicon(phy_settings, sdram_geom, sdram_timing)