Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions pynqutils/runtime/detect_devices.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Copyright (C) 2022 Xilinx, Inc
# SPDX-License-Identifier: BSD-3-Clause

import pynq


def detect_devices(active_only=False):
"""Return a list containing all the detected devices names."""
import pynq
devices = pynq.Device.devices
if not devices:
raise RuntimeError("No device found in the system")
Expand Down