Skip to main content

Automated AXI4-Lite Register Interface Generator for VHDL modules

Project description

Axion-HDL

AXI4-Lite register interfaces from VHDL, YAML, XML, or JSON. One command.

PyPI Tests Docs License: MIT


Install

axion-hdl -s my_module.vhd -o output/

Use

# From VHDL with @axion annotations
axion-hdl -s my_module.vhd -o output/

# From YAML/XML/JSON
axion-hdl -s registers.yaml -o output/

Output: VHDL module, C header, documentation, XML/YAML/JSON exports.

Define Registers

VHDL — embed in your code:

-- @axion_def BASE_ADDR=0x1000 CDC_EN
signal status  : std_logic_vector(31 downto 0); -- @axion RO
signal control : std_logic_vector(31 downto 0); -- @axion RW W_STROBE

YAML — standalone file:

module: my_module
base_addr: "0x1000"
config:
  cdc_en: true
registers:
  - name: status
    access: RO
  - name: control
    access: RW
    w_strobe: true

Features

  • Multi-format input — VHDL annotations, YAML, XML, JSON
  • CDC support — built-in clock domain crossing synchronizers
  • Subregisters — pack multiple fields into one address
  • Wide signals — auto-split 64-bit+ signals across addresses
  • Tested — 230+ tests, GHDL simulation verified

Documentation

📖 axion-hdl.readthedocs.io

Contributing

git checkout develop
git checkout -b feature/your-feature
make test
# PR to develop

License

MIT — Bugra Tufan

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

axion_hdl-0.8.1.tar.gz (166.1 kB view details)

Uploaded Source

Built Distribution

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

axion_hdl-0.8.1-py3-none-any.whl (91.8 kB view details)

Uploaded Python 3

File details

Details for the file axion_hdl-0.8.1.tar.gz.

File metadata

  • Download URL: axion_hdl-0.8.1.tar.gz
  • Upload date:
  • Size: 166.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axion_hdl-0.8.1.tar.gz
Algorithm Hash digest
SHA256 02723d013fd25a6c9793de6365d0fff82b1fd71cb7d29d79e50ad98f58a6ee92
MD5 d362a62be68f03d3eccffb793e900867
BLAKE2b-256 287a0972527dd002ab371dee43b36a59c0302aadbf0d7b3ea697674177997d20

See more details on using hashes here.

Provenance

The following attestation bundles were made for axion_hdl-0.8.1.tar.gz:

Publisher: publish.yml on bugratufan/axion-hdl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axion_hdl-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: axion_hdl-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 91.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axion_hdl-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08521b8887dfea9edc89c0d480524697c437266f303bf13749352d5ffcb61254
MD5 e16b2a3476a338180123bf0da8dbb10f
BLAKE2b-256 72e26c800366d3042ce40db2f3db6da63ea15e6224674cc2aaf849a00ecb564d

See more details on using hashes here.

Provenance

The following attestation bundles were made for axion_hdl-0.8.1-py3-none-any.whl:

Publisher: publish.yml on bugratufan/axion-hdl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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