wrong pspec variable in selecting pll clock
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 15 Oct 2020 17:11:11 +0000 (18:11 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 15 Oct 2020 17:11:11 +0000 (18:11 +0100)
src/soc/simple/issuer.py

index 0d1fa1f22fc506ecf28dd2f29b698e57fd4b8d71..ae6c24bfde03546481aead6c04415b02a17a4554 100644 (file)
@@ -453,7 +453,7 @@ class TestIssuer(Elaboratable):
         self.clksel = ClockSelect()
 
         # PLL direct clock or not
-        self.pll_en = hasattr(pspec, "use_pll") and pspec.pll_en
+        self.pll_en = hasattr(pspec, "use_pll") and pspec.use_pll
 
     def elaborate(self, platform):
         m = Module()