Skip to content

Commit

Permalink
Fix NextState(signal[x:y], ...).
Browse files Browse the repository at this point in the history
whitequark committed Jul 30, 2016
1 parent d4653cd commit d535f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/genlib/fsm.py
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ def _target_eq(a, b):
elif ty == _Slice:
return (_target_eq(a.value, b.value)
and a.start == b.start
and a.end == b.end)
and a.stop == b.stop)
elif ty == _ArrayProxy:
return (all(_target_eq(x, y) for x, y in zip(a.choices, b.choices))
and _target_eq(a.key, b.key))

0 comments on commit d535f90

Please sign in to comment.