Skip to content

Commit

Permalink
fhdl: fix instance get_io
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Sep 28, 2012
1 parent c273866 commit 8101b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/fhdl/structure.py
Expand Up @@ -286,7 +286,7 @@ class ResetPort(_CR):
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)
Expand Down

0 comments on commit 8101b68

Please sign in to comment.