Skip to main content

An open-source HDL register interface code generator fast enough to run in real time

Project description

Project banner

Website Repository pypi License Chat CI status Python line coverage

The hdl-registers project is an open-source HDL register interface code generator fast enough to run in real time. It makes FPGA/ASIC development more fun by automating a lot of time-consuming manual work. It also minimizes the risk of bugs by removing the need for duplicate information. Read more

See documentation on the website: https://hdl-registers.com

Check out the source code on GitHub: https://github.com/hdl-registers/hdl-registers

The following features are supported:

Registers can be defined using a TOML/JSON/YAML data file or the Python API. The following code can be generated:

  • VHDL

    • AXI-Lite register file wrapper using records and native VHDL types for values.

    • Simulation support packages for compact read/write/wait/checking of register and field values.

  • SystemVerilog

    • AXI-Lite register file using structures and native types to represent field values.

  • C++

    • Complete class with setters and getters for registers and fields.

    • Includes an abstract interface header for unit test mocking.

  • C header with register addresses and field information.

  • HTML website with documentation of registers and fields.

  • Python class with methods to read/write/print each register and field on a target device.

The tool can also be extended by writing your own code generator using a simple but powerful API.

This project is mature and used in many production environments. The maintainers place high focus on quality, with everything having good unit test coverage and a thought-out structure.

Project details


Download files

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

Source Distribution

hdl_registers-7.2.0.tar.gz (122.3 kB view details)

Uploaded Source

Built Distribution

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

hdl_registers-7.2.0-py3-none-any.whl (187.9 kB view details)

Uploaded Python 3

File details

Details for the file hdl_registers-7.2.0.tar.gz.

File metadata

  • Download URL: hdl_registers-7.2.0.tar.gz
  • Upload date:
  • Size: 122.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hdl_registers-7.2.0.tar.gz
Algorithm Hash digest
SHA256 ded11382dfb85a70b31fef2b03cfa6f1bf75da6a0c5e2270f3d919f2b76a779e
MD5 cb5c7cee170b923a0d41c9e8d1f699de
BLAKE2b-256 8e461af9c4466d835454e3acc4e5d403881ac367f1ed3e906fe612235751d61b

See more details on using hashes here.

File details

Details for the file hdl_registers-7.2.0-py3-none-any.whl.

File metadata

  • Download URL: hdl_registers-7.2.0-py3-none-any.whl
  • Upload date:
  • Size: 187.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hdl_registers-7.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 264aa43c45e0b722b32fcd5a8ac117e55056c35af0b953cf1f67fc0e8d37be7e
MD5 33b47da4a8f5a2549041bcb3e058cd5e
BLAKE2b-256 1b61bfc0e34957a88cea7631e835132104d518758ff41b35f1f8897481102b37

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