Skip to content

Commit

Permalink
Support IP that do not provide modtype
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Ruiz committed Nov 18, 2021
1 parent 71b9ee6 commit 73ab3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynq_composable/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def _hardware_discovery(self) -> None:
dictionary[key][k] = port
dictionary[key]['dfx'] = switch_conn[d]['dfx']
dictionary[key]['loaded'] = not switch_conn[d]['dfx']
dictionary[key]['modtype'] = switch_conn[d]['modtype']
dictionary[key]['modtype'] = switch_conn[d].get('modtype')
if switch_conn[d]['dfx']:
dictionary[key]['decoupler'] = switch_conn[d]['decoupler']

Expand Down

0 comments on commit 73ab3f4

Please sign in to comment.