From 4d9b2fff631da725d014c31d419143ba77f75e6b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 19 Oct 2015 19:03:43 +0800 Subject: [PATCH] genlib/fsm: fix return value of _get_register_control --- migen/genlib/fsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/genlib/fsm.py b/migen/genlib/fsm.py index cab83bb8..e80eca10 100644 --- a/migen/genlib/fsm.py +++ b/migen/genlib/fsm.py @@ -60,7 +60,7 @@ class _LowerNext(NodeTransformer): def _get_register_control(self, target): for x in self.registers: if _target_eq(target, x[0]): - return x + return x[1], x[2] raise KeyError def visit_unknown(self, node): -- 2.30.2