From 8101b689650c229bf2d5b255c7a200b2231d24e4 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 28 Sep 2012 18:02:03 +0200 Subject: [PATCH] fhdl: fix instance get_io --- migen/fhdl/structure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/fhdl/structure.py b/migen/fhdl/structure.py index d6eb990a..fa97b793 100644 --- a/migen/fhdl/structure.py +++ b/migen/fhdl/structure.py @@ -286,7 +286,7 @@ class Instance: def get_io(self, name): for item in self.items: if isinstance(item, Instance._IO) and item.name == name: - return item.signal + return item.expr def __hash__(self): return id(self) -- 2.30.2