Skip to content

Commit

Permalink
sim: support execution of nested statement lists
Browse files Browse the repository at this point in the history
sbourdeauducq committed Oct 15, 2015
1 parent 48d22a7 commit 3b7f126
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migen/sim/core.py
Original file line number Diff line number Diff line change
@@ -193,6 +193,8 @@ def execute(self, statements):
return
if "default" in s.cases:
self.execute(s.cases["default"])
elif isinstance(s, list):
execute(s)
else:
raise NotImplementedError

0 comments on commit 3b7f126

Please sign in to comment.