mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fhdl: fix instance get_io
This commit is contained in:
parent
c273866b08
commit
8101b68965
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue