Skip to content

Commit

Permalink
Support partial bitstreams without metadata (greyboxes). RapidWright …
Browse files Browse the repository at this point in the history
…integration
  • Loading branch information
Mario Ruiz committed Feb 3, 2022
1 parent d92bb0c commit e8a69e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pynq_composable/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,10 @@ def _insert_dfx_ip(self) -> None:
for b in self.dfx_dict[r].get('rm', list()):
hwh_name = self._dir_name + '/' + \
os.path.splitext(b)[0] + '.hwh'
dfx_dict = _dfx_ip_discovery(r, hwh_name)
self.dfx_dict[r]['rm'][b] = dfx_dict
self._update_ip_dict_with_dfx(r, dfx_dict)
if os.path.exists(hwh_name):
dfx_dict = _dfx_ip_discovery(r, hwh_name)
self.dfx_dict[r]['rm'][b] = dfx_dict
self._update_ip_dict_with_dfx(r, dfx_dict)

def _update_ip_dict_with_dfx(self, partial_region: str,
dfx_dict: dict) -> None:
Expand Down

0 comments on commit e8a69e3

Please sign in to comment.