pynq.utils Module

The pynq.utils module contains functions and classes that are used for delivery and testing of PYNQ and packages that depend on PYNQ. For delivery it includes the setuptools function for managing the download of bitstreams from link files at install time and the enumeration and copying of notebooks. For testing it provides a function for evaluating a notebook and getting the results.

class pynq.utils.ReprDict(*args, rootname='root', expanded=False, **kwargs)[source]
class pynq.utils.build_py(dist, **kw)[source]
run()[source]

Build modules, packages, and copy data files to build directory

pynq.utils.deliver_notebooks(device_name, src_path, dst_path, name, folder=False, overlays_res_lookup=True)[source]
pynq.utils.download_overlays(path, download_all=False, fail_at_lookup=False, fail_at_device_detection=False, cleanup=False)[source]
pynq.utils.get_logger(level=20, force_lvl=False)[source]
pynq.utils.run_notebook(notebook, root_path='.', timeout=30, prerun=None)[source]