From 3b7f1264f12e8a8563c541db4f148f72e6e5a980 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 15 Oct 2015 13:52:24 +0800 Subject: [PATCH] sim: support execution of nested statement lists --- migen/sim/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migen/sim/core.py b/migen/sim/core.py index 3329e8e39..c31fa0868 100644 --- a/migen/sim/core.py +++ b/migen/sim/core.py @@ -193,6 +193,8 @@ class Evaluator: return if "default" in s.cases: self.execute(s.cases["default"]) + elif isinstance(s, list): + execute(s) else: raise NotImplementedError