Skip to main content

cpld_img_tools

This is a set of tools to convert .jed fuse files for Lattice CPLDs into binary files that the DMMC-STAMP can use for in-application update of a CPLD.

jed_conv

This is a tool to convert a .jed fuse file into a binary format e.g. for embedding in the MMC firmware image as used in the DMMC-STAMP SDK.

Usage

$ jed_conv --help
usage: jed_conv [-h] [-o OUTFILE] [-b BLKSIZE] infile

.jed file parser / converter

positional arguments:
  infile                Source file for reading

optional arguments:
  -h, --help            show this help message and exit
  -o OUTFILE, --outfile OUTFILE
                        output file (derived from input file if not set)
  -b BLKSIZE, --blksize BLKSIZE
                        max. block size per packet

cpld2hpm

This is a tool to convert a .jed fuse file into a HPM upgrade file that can be used to update a CPLD on the AMC payload, e.g. on the DAMC-FMC1Z7IO.

See bin2hpm for HPM details.

Usage

cpld2hpm --help
usage: cpld2hpm [-h] [-o OUTFILE] [-v FILE_VERSION] [-c COMPONENT] [-m MANUFACTURER] [-p PRODUCT] infile

CPLD .jed to HPM converter

positional arguments:
  infile                Source file for reading

optional arguments:
  -h, --help            show this help message and exit
  -o OUTFILE, --outfile OUTFILE
                        output file (derived from input file if not set)
  -v FILE_VERSION, --file-version FILE_VERSION
                        file version information (format major.minor, e.g. 1.2)
  -c COMPONENT, --component COMPONENT
                        HPM component ID (default 2)
  -m MANUFACTURER, --manufacturer MANUFACTURER
                        IANA manufacturer ID (hex, 6 bytes max, default 53f)
  -p PRODUCT, --product PRODUCT
                        IANA product ID (hex, 4 bytes max)

Metadata

Release files for cpld-img-tools 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cpld-img-tools 0.3.0
File Size Uploaded Provenance Actions
cpld_img_tools-0.3.0.tar.gz 5.1 kB Without provenance Details for cpld_img_tools-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cpld-img-tools 0.3.0
File Interpreter ABI Platform Actions
cpld_img_tools-0.3.0-py3-none-any.whl Python 3 none any Details for cpld_img_tools-0.3.0-py3-none-any.whl

Total release size: 11.2 kB

Release files / cpld_img_tools-0.3.0.tar.gz

Download URL cpld_img_tools-0.3.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a203d5979ee1d09022a1fe96befc5ce5e2bb85e67d776637210dbc14e3e2c085
BLAKE2b-256 checksum
How to use checksums
6b4e19e2bce2224e7f471a007bf98ae6cadde327329df448a2abd661d3473482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / cpld_img_tools-0.3.0-py3-none-any.whl

Download URL cpld_img_tools-0.3.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e884e5b36d637e50b4d85e3abb9ff5447367382f1ac6d670e9d16c2c757dab2e
BLAKE2b-256 checksum
How to use checksums
08dd2e50a2b6198360cded9ff4785b0a4bc40922541368d8dc8688049ae4e8b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for cpld-img-tools 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page