Skip to main content

PyPI version

HECTARE - Hamburg Elegant CreaTor from Accellera™ systemrdl™ to REgisters

This is a tool which generates AXI4-Lite slave from a description in SystemRDL.

It uses systemrdl-compiler as a front end and a custom backend to generate a VHDL module.

The HECTARE tool is developed by MicroTCA Tech Lab at DESY.

Usage

$ hectare.py --help
usage: hectare.py [-h] [--debug] [--axi-vhdl VHDL_NAME] filename

HECTARE - Hamburg Elegant CreaTor from Accelera systemrdl to REgisters

positional arguments:
  filename              .rdl file

optional arguments:
  -h, --help            show this help message and exit
  --debug               enable debugging information
  --axi-vhdl VHDL_NAME  generate AXI4-Lite slave

Useful arguments

  • sw: r, rw, w, na
  • hw: r, rw, w, na
  • swmod
  • singlepulse
  • woclr
  • encode

Changelog

[0.2.4] - 2021-06-19

  • Read decode error returns 0xbadcofee

[0.2.3] - 2021-06-07

  • Add support for woclr

[0.2.2] - 2021-04-11

  • Add support for singlepulse

[0.2.1] - 2021-02-19

  • Add C header generator
  • Add support for reset values
  • Add version argument (--version) to print version information

[0.2.0] - 2020-06-08

  • First public release
  • Provides generation of AXI4-Lite module in VHDL
  • Supports all possible combination for sw and rw properties as well as swmod and encode attribute

Tests

Several tests are provided in test folder

00_unit_test

This is a simple unit test based on the Python [] framework.

01_uvvm_simple

UVVM version: v2019.12.04

Regenerating the output products (in shell, from folder hdl):

$ ./gen_output.sh
Parsing finished.
generate_package
Generating mymodule.vhd ...
Generating mymodule_pkg.vhd ...
Done.

Running the test (in ModelSim, from folder work)

do ../scripts/compile_uvvm.do
do ../scripts/sim.do

02_hdlparse

Requires hdlparse from a fork (the one from pip is missing some features) available from https://github.com/andresmanelli/hdlparse on branch entity.

03_ordt_equivalence

Compares the output of HECTARE against Juniper® ordt.

Alias to ordt should be created, as explained here.


Accellera™ and SystemRDL™ are trademarks of Accellera Systems Initiative Inc.

Juniper® is a registered trademark of Juniper Networks, Inc.

Metadata

Release files for hectare 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hectare 0.2.4
File Size Uploaded Provenance Actions
hectare-0.2.4.tar.gz 128.2 kB Without provenance Details for hectare-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hectare 0.2.4
File Interpreter ABI Platform Actions
hectare-0.2.4-py3-none-any.whl Python 3 none any Details for hectare-0.2.4-py3-none-any.whl

Total release size: 141.8 kB

Release files / hectare-0.2.4.tar.gz

Download URL hectare-0.2.4.tar.gz
Size 128.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fb2f4a8795ebf68f360e265d3cd539d642acc4f13dfd7a553be6a1ba818f3f06
BLAKE2b-256 checksum
How to use checksums
4c8170fa384a30aeec0ef754414e83848ff7ecb0d60c6c60e8bcb837cbd4e94c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

Release files / hectare-0.2.4-py3-none-any.whl

Download URL hectare-0.2.4-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a79c74c4a48f13b4fe076f169c187d53467e2d122fb6806f43c6ed9d0df99e8
BLAKE2b-256 checksum
How to use checksums
99ef2f037ba3397018c7e586e5959c007023754c3e506cf8cfca93c9b7fceaa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

Security for hectare 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page