sim: support execution of nested statement lists (typo)
authorSebastien Bourdeauducq <sb@m-labs.hk>
Thu, 15 Oct 2015 05:53:04 +0000 (13:53 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Thu, 15 Oct 2015 05:53:04 +0000 (13:53 +0800)
migen/sim/core.py

index c31fa0868c5c30e39c40d374d0ae3a07f52eca14..0de231f294da24d30f72bf2114993a22f853f837 100644 (file)
@@ -194,7 +194,7 @@ class Evaluator:
                 if "default" in s.cases:
                     self.execute(s.cases["default"])
             elif isinstance(s, list):
-                execute(s)
+                self.execute(s)
             else:
                 raise NotImplementedError