Skip to main content

Extensible, Modular, Metadata layer for PYNQ projects

Project description

pynq_logo

version 0.1.0

PYNQ-Metadata is an open-source project from Xilinx and is part of the PYNQ ecosystem. It's aims are to provide an abstract description of reconfigurable system designs. It is currently used internally within PYNQ to represent the hardware design currently configured in the Programmable Logic of Zynq-based devices. It is currently in pre-release.

Quick Start

PYNQ-Metadata can parse the design of a system in the following formats:

  • A HWH file
  • An XSA file
  • A JSON PYNQ-Metadata description

To install PYNQ-Metadata use the following command:

python3 -m pip install git+https://github.com/Xilinx/PYNQ-Metadata

To parse a design use the following python commands:

from pynqmetadata.frontends import Metadata
md = Metadata('xsa_file.xsa')
md = Metadata('hwh_file.hwh')
md = Metadata('pynq_metadata_json_file.json')

Once a design has been parsed it can then be easily walked, searched, modified, extended, and much more.

Tutorials

Coming soon: Documentation on how to use PYNQ-Metadata to manipulate and inspect designs.

Python Source Code

All python code for the PYNQ-Metadata package can be found in the /pynqmetadata folder.

  • pynqmetadata/frontends -- contains the frontend parsers for taking an XSA, HWH, or more into the PYNQMetadata format.
  • pynqmetadata/models -- contains the class hierarchy for the internal object model of a PYNQMetadata representation.
  • pynqmetadata/errors -- contains the exception classes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pynqmetadata-0.1.0-py3-none-any.whl (374.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page