Skip to content

Commit

Permalink
Bug fix, include memory elements that are directly connected to the s…
Browse files Browse the repository at this point in the history
…witch into the c_dict
  • Loading branch information
Mario Ruiz committed Feb 7, 2022
1 parent e198f7d commit 7a2e38c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pynq_composable/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,10 @@ def _hardware_discovery(self) -> None:
if mod_type in _mem_items and port_type == b_type and \
busname != switch_conn[port]['busname']:
switch_conn[port]['busname'] = busname
switch_conn[port], ismem = \
_find_connected_node(switch_conn[port], tree)
conn, ismem = _find_connected_node(switch_conn[port], tree)

if 'axis_switch' not in conn['modtype']:
switch_conn[port] = conn
if not ismem:
del deep_exp[0]
break
Expand Down

0 comments on commit 7a2e38c

Please sign in to comment.