Skip to content

move pynq import to detect_devices function - #8

Open
skalade wants to merge 1 commit into
Xilinx:mainfrom
skalade:240407_pynqimport
Open

move pynq import to detect_devices function#8
skalade wants to merge 1 commit into
Xilinx:mainfrom
skalade:240407_pynqimport

Conversation

@skalade

@skalade skalade commented Apr 8, 2024

Copy link
Copy Markdown
Collaborator

Right now trying to import pynqutils on a system without pynq installed results in an import error due to the import from https://github.com/Xilinx/PYNQ-Utils/blob/main/pynqutils/runtime/__init__.py#L4

This change would allow us to import pynqutils on x86 or other systems without needing to install pynq.

@schelleg

schelleg commented Apr 8, 2024

Copy link
Copy Markdown
Collaborator

we should consider a refactor to move devices discovery fully into pynqutils ... I see a split between device discovery and runtime-access

this PR is good, but hopefully we can remove import pynq completely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants