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.10.0.tar.gz (208.4 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.10.0-py3-none-any.whl (128.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axion_hdl-0.10.0.tar.gz
  • Upload date:
  • Size: 208.4 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.10.0.tar.gz
Algorithm Hash digest
SHA256 f9cddc57cef420bb0c3ba075e86dab3b5a7ef211a8fd12d07a269c339f06ffed
MD5 ebab2a1a00ecffc74db78d4ed8772c95
BLAKE2b-256 215e864a5fdec3f216d37055c3c9b6c74f1e3d77b3fac0bd66b2fba95375b8ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for axion_hdl-0.10.0.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.10.0-py3-none-any.whl.

File metadata

  • Download URL: axion_hdl-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 128.2 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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd96028d6cbb08cac925145bc571414f0d77afe5fbd058a88d64dc8fd378cefc
MD5 54bcb2e536cd7c90c0b5ab593b06c46b
BLAKE2b-256 41553c662574d3b88fd5727598f598ac0f16dda84c5e78e8794884ca8e779a15

See more details on using hashes here.

Provenance

The following attestation bundles were made for axion_hdl-0.10.0-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