Skip to main content

Extensible, Modular, Metadata layer for PYNQ projects

Project description

pynq_logo

version 0.1.8

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 pynqmetadata 

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.

Changelog

  • v0.1.8 : Add parsing of clock select
  • v0.1.7 : Relaxing constraint on address mapping due to issues with rfsoc4x2_base parsing.
  • v0.1.6 : Python3.11 support added (Thanks @modularizer)
  • v0.1.5 : Prevent parsing error when external AXI ports are present in the design.
  • v0.1.4 : Fixing runtime metadata views for when the PS is contained within a hierarchy. Relaxing the Python version constraint (for x86).
  • v0.1.3 : Fixing python version requirement
  • v0.1.2 : Fixed issue where custom IP was being interpreted as an empty hierarchy
  • v0.1.1 : Fixed circular dependency issue with PYNQ-Utils

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

If you're not sure about the file name format, learn more about wheel file names.

pynqmetadata_git-0.1.8-py3-none-any.whl (277.3 kB view details)

Uploaded Python 3

File details

Details for the file pynqmetadata_git-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for pynqmetadata_git-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 69e7b4ce5566af6707bbd0a9ebd1766e17c048b0b147fe368379ec0cf49650f5
MD5 7fe2b298afb2c8907296220872dd0fe6
BLAKE2b-256 3f7c5f185ae12e67b66dbd597334697dd5868f09b338fb86b3e7636e186a95d7

See more details on using hashes here.

Supported by

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