From: Sebastien Bourdeauducq Date: Thu, 15 Oct 2015 05:52:24 +0000 (+0800) Subject: sim: support execution of nested statement lists X-Git-Tag: 24jan2021_ls180~2099^2~3^2~22 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b7f1264f12e8a8563c541db4f148f72e6e5a980;p=litex.git sim: support execution of nested statement lists --- diff --git a/migen/sim/core.py b/migen/sim/core.py index 3329e8e3..c31fa086 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