From d47b564fad08eb5daeade79e752c42e0d14f2a89 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 18 Mar 2012 22:12:46 +0100 Subject: [PATCH] corelogic/fsm: typo --- migen/corelogic/fsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2