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.2.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.2.1
File Size Uploaded
cpld_img_tools-0.2.1.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 10.5 kB

Release files / cpld_img_tools-0.2.1.tar.gz

Download URL cpld_img_tools-0.2.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4fe86b32c866143bf430a676c419ac0abae49f3c31d96e11fdb5ea296e287f48
BLAKE2b-256 checksum
How to use checksums
2be1e0fc1f380b13917b1e3a959c33962ab0a2d9b786033f39004f4acf55b70c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL cpld_img_tools-0.2.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b0039790fb1d7383d53a355bdb243c42bedeec0dade7dc7b7add6f08bb0ddf0
BLAKE2b-256 checksum
How to use checksums
2f898e18db322860032e5529ea062e3c13dceb41ea151ae5261d70e1e94dcf24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

1 release file

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