![]() Before this commit, doing something like: with m.FSM(): with m.State("FOO"): m.next = "bAR" with m.State("BAR"): m.next = "FOO" would silently create an empty state `bAR` and get stuck in it until the module is reset. This was done intentionally (in Migen, this code would in fact miscompile), but in retrospect was clearly a bad idea; it turns typos into bugs, while in the rare case that branching to a completely empty state is desired, it is trivial to define one. Fixes #315. |
||
---|---|---|
.. | ||
__init__.py | ||
ast.py | ||
cd.py | ||
dsl.py | ||
ir.py | ||
mem.py | ||
rec.py | ||
xfrm.py |