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.2.tar.gz (171.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.2-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axion_hdl-0.8.2.tar.gz
  • Upload date:
  • Size: 171.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.2.tar.gz
Algorithm Hash digest
SHA256 c8dc6df344b87f107ccaa799c87d6b13cb8f1595f16ee64d3912e329eb24503c
MD5 1781ce8b35d5a0143578f14fda9f0862
BLAKE2b-256 a58fd4c83e1ae0f10d17477e3e2cffe055b30f673bd34fa7d7037fada2dc2af7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: axion_hdl-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 93.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9dd72186f8021d73b25e85a681b9189a88cd2da120456aadda9fb33acc1d471f
MD5 494471df4ac69cf5dba1891bbd3d155c
BLAKE2b-256 735c893876c2890d861ee61b02b87a7ad3cf33a34a143ebbfdb584932663df51

See more details on using hashes here.

Provenance

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