From: Sebastien Bourdeauducq Date: Sun, 18 Mar 2012 21:12:46 +0000 (+0100) Subject: corelogic/fsm: typo X-Git-Tag: 24jan2021_ls180~2099^2~963 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d47b564fad08eb5daeade79e752c42e0d14f2a89;p=litex.git corelogic/fsm: typo --- diff --git a/migen/corelogic/fsm.py b/migen/corelogic/fsm.py index 9d0de3c8..715dcb5f 100644 --- a/migen/corelogic/fsm.py +++ b/migen/corelogic/fsm.py @@ -17,7 +17,7 @@ class FSM: name_state = len(self.actions) setattr(self, name, Constant(name_state, self._state_bv)) for i in range(delay-1): - self.actions.append([self.next_state(Constant(name_state+i+1), self._state_bv)]) + self.actions.append([self.next_state(Constant(name_state+i+1, self._state_bv))]) self.actions.append([self.next_state(target_state)]) else: # alias