From: Sebastien Bourdeauducq Date: Fri, 28 Sep 2012 16:02:03 +0000 (+0200) Subject: fhdl: fix instance get_io X-Git-Tag: 24jan2021_ls180~2099^2~832 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8101b689650c229bf2d5b255c7a200b2231d24e4;p=litex.git fhdl: fix instance get_io --- 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)