Skip to main content

The hdl_registers project is a HDL register generator fast enough to be run in real time.

Project description

Website Gitlab Gitter pypi License Python line coverage

The hdl_registers project is a HDL register generator fast enough to be run in real time. It can easily be plugged into your development environment so that VHDL register code generation is done before each build and simulation run. For your FPGA release artifacts it can generate headers and documentation.

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

Check out the source code on gitlab: https://gitlab.com/tsfpga/hdl_registers

The typical use case is to let hdl_registers parse a .toml file with register definitions that make up a register map. It is also possible to work directly with the Python abstractions as well, without using a data file. From the Python abstractions, the following code can be generated:

  • VHDL package containing the register constant values, as well as a type with all the registers and their modes. This can then be used with a general register file in the VHDL code.

  • HTML website with documentation of the registers and constants.

  • C header with constant values, register addresses, and register field information.

  • C++ header and implementation with constant values, and setters/getters for the different registers. The header has an abstract interface class which can be used for mocking.

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-2.1.0.tar.gz (24.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: hdl_registers-2.1.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for hdl_registers-2.1.0.tar.gz
Algorithm Hash digest
SHA256 ba110d05ce0023317621f9717cf93262efb7c7d078f392136011ebe27d55a9c2
MD5 519b274932290a57f61957eb370e91f8
BLAKE2b-256 7a9c0202b53baf8d02c4df0ab85a66f8047a2107601d199bc32546051e8d78ba

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