We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8935ca2 commit 33f344bCopy full SHA for 33f344b
migen/genlib/fsm.py
@@ -1,7 +1,7 @@
1
from collections import OrderedDict
2
3
from migen.fhdl.structure import *
4
-from migen.fhdl.structure import _Slice, _ArrayProxy
+from migen.fhdl.structure import _Statement, _Slice, _ArrayProxy
5
from migen.fhdl.module import Module, FinalizeError
6
from migen.fhdl.visit import NodeTransformer
7
from migen.fhdl.bitcontainer import value_bits_sign
@@ -16,12 +16,12 @@ class AnonymousState:
16
17
# do not use namedtuple here as it inherits tuple
18
# and the latter is used elsewhere in FHDL
19
-class NextState:
+class NextState(_Statement):
20
def __init__(self, state):
21
self.state = state
22
23
24
-class NextValue:
+class NextValue(_Statement):
25
def __init__(self, target, value):
26
self.target = target
27
self.value = value
0 commit comments