corelogic/fsm: typo

This commit is contained in:
Sebastien Bourdeauducq 2012-03-18 22:12:46 +01:00
parent 5f28103769
commit d47b564fad

View file

@ -17,7 +17,7 @@ class FSM:
name_state = len(self.actions) name_state = len(self.actions)
setattr(self, name, Constant(name_state, self._state_bv)) setattr(self, name, Constant(name_state, self._state_bv))
for i in range(delay-1): 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)]) self.actions.append([self.next_state(target_state)])
else: else:
# alias # alias