Skip to content

Commit

Permalink
Rename PRRegion to DFXRegion
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Ruiz committed Nov 18, 2021
1 parent a0f0a46 commit 0e34442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynq_composable/composable.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def __getattr__(self, name):
if self._dfx_dict is None:
return super().__getattr__(name)
elif name in self._dfx_dict:
return PRRegion(self, name)
return DFXRegion(self, name)
elif name in self._paths:
try:
attr = getattr(self._ol, self._paths[name]['fullpath'])
Expand Down Expand Up @@ -748,7 +748,7 @@ def _configure_switch(self, new_sw_config: dict) -> None:
self._switch.pi = switch_conf


class PRRegion:
class DFXRegion:
"""Class that wraps attributes for IP objects on DFX regions"""

def __init__(self, cpipe: Composable, name: str):
Expand Down

0 comments on commit 0e34442

Please sign in to comment.