examples/minerva_soc: fix typo.
authorJean-François Nguyen <jf@lambdaconcept.com>
Fri, 29 Oct 2021 21:31:18 +0000 (23:31 +0200)
committerJean-François Nguyen <jf@lambdaconcept.com>
Fri, 29 Oct 2021 21:31:18 +0000 (23:31 +0200)
examples/minerva_soc.py

index 99b05646c2e82417edc2fce7277192d47bf9f15c..a6281c051dfeaf2d680acc75e27bffda14e7f005 100644 (file)
@@ -131,7 +131,7 @@ class _ClockResetGenerator(Elaboratable):
             else:
                 assert False
 
-            if self.platform.default_rst is not None:
+            if platform.default_rst is not None:
                 sync_pll_arst = ~sync_pll.locked | ResetSignal("_ref")
             else:
                 sync_pll_arst = ~sync_pll.locked