Apheleia Verification Library - Register Abstraction Layer
Project description
AVL-RAL- Apheleia Verification Library Register Abstraction Layer
AVL-RAL has been developed by experienced, industry professional verification engineers to provide a simple,
extensible verification component integrating a Register Abstraction Layer (RAL) based on systemdrl.
developed in Python and the AVL library.
AVL is built on the CocoTB framework.
CocoTB 2.0
AVL-RAL supports CocoTB2.0 https://docs.cocotb.org/en/development/upgrade-2.0.html. This was introduced in v0.2.0.
Component Features
📦 Installation
Unfortunately avl-ral isn't available on PyPi. As such to pip install you need to use the longer avl-register-abstraction-layer name. Once install avl_ral is the short-cut.
Using pip
# Standard build
pip install avl-register-abstraction-layer
# Development build
pip install avl-register-abstraction-layer[dev]
Install from Source
git clone https://github.com/projectapheleia/avl-ral.git
cd avl-ral
# Standard build
pip install .
# Development build
pip install .[dev]
Alternatively if you want to create a virtual environment rather than install globally a script is provided. This will install, with edit privileges to local virtual environment.
This script assumes you have Graphviz and appropriate simulator installed, so all examples and documentation will build out of the box.
git clone https://github.com/projectapheleia/avl-ral.git
cd avl-ral
source avl-ral.sh
📖 Documentation
In order to build the documentation you must have installed the development build.
Build from Source
cd docs
make html
<browser> build/html/index.html
🏃 Examples
In order to run all the examples you must have installed the development build.
To run all examples:
cd examples
# To run
make -j 8 sim
# To clean
make -j 8 clean
To run an individual example:
cd examples/THE EXAMPLE YOU WANT
# To run
make sim
# To clean
make clean
The examples use the CocoTB Makefile and default to Verilator with all waveforms generated. This can be modified using the standard CocoTB build system.
🧹 Code Style & Linting
This project uses Ruff for linting and formatting.
Check code for issues:
ruff check .
Automatically fix common issues:
ruff check . --fix
📧 Contact
- Email: avl@projectapheleia.net
- GitHub: projectapheleia
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file avl_register_abstraction_layer-0.1.0.tar.gz.
File metadata
- Download URL: avl_register_abstraction_layer-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f34f772ceaf1fd7a6cfd072d09e6ce8610699f2220f2576444b977539d66fb44
|
|
| MD5 |
5c462cc8a50f95c4033d5dae1c412321
|
|
| BLAKE2b-256 |
d3b6c217141a0484e0f084df2d02509c7b5af35eb6b013860d222e5c26b286c8
|
File details
Details for the file avl_register_abstraction_layer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: avl_register_abstraction_layer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6a6b3c7c80b98306d2fb5c9bc9028b4e9e8eb4d2e478ccbe0506b6989b9ba89
|
|
| MD5 |
3d6d3c57788f67387c16be77c6d71c2c
|
|
| BLAKE2b-256 |
49be724a6604f9658cfeb649acb6529099c5b9a965ed823971e81094019b2a89
|