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.1

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.1
File Size Uploaded Provenance Actions
cpld_img_tools-0.3.1.tar.gz 5.1 kB Without provenance Details for cpld_img_tools-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 11.2 kB

Release files / cpld_img_tools-0.3.1.tar.gz

Download URL cpld_img_tools-0.3.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c9c10dfd99c54397409820bdbce67240110d23e3108d766a0ba509ed616d4484
BLAKE2b-256 checksum
How to use checksums
b174339c744311eb8c4d17e8b3138a6980ccf38c5c011278402bea8eac3078dd
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.1-py3-none-any.whl

Download URL cpld_img_tools-0.3.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed19a5f1a25de85ec2e3eb14e23d4a84673cdfae7e7d6069f36fbae406872bc9
BLAKE2b-256 checksum
How to use checksums
e22162d0d43a9f8a6244ac39d2ec0d50a9d8558a04ad6b225f76279cb38f9245
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.1

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