From 8e04ef7b95742847b586216eb76717b029c8639f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 27 Feb 2015 20:00:16 +0100 Subject: [PATCH] test minicon with de0nano (OK) and fix missing self in gensoc --- misoclib/gensoc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misoclib/gensoc/__init__.py b/misoclib/gensoc/__init__.py index fe1235c08..a9885e4d3 100644 --- a/misoclib/gensoc/__init__.py +++ b/misoclib/gensoc/__init__.py @@ -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)