fhdl: fix instance get_io
This commit is contained in:
parent
c273866b08
commit
8101b68965
|
@ -286,7 +286,7 @@ class Instance:
|
||||||
def get_io(self, name):
|
def get_io(self, name):
|
||||||
for item in self.items:
|
for item in self.items:
|
||||||
if isinstance(item, Instance._IO) and item.name == name:
|
if isinstance(item, Instance._IO) and item.name == name:
|
||||||
return item.signal
|
return item.expr
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
return id(self)
|
return id(self)
|
||||||
|
|
Loading…
Reference in New Issue