Skip to main content

Apheleia Verification Library - Register Abstraction Layer

Project description

AVL-RAL- Apheleia Verification Library Register Abstraction Layer

License: MIT Python

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

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

avl_register_abstraction_layer-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file avl_register_abstraction_layer-0.1.0.tar.gz.

File metadata

File hashes

Hashes for avl_register_abstraction_layer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f34f772ceaf1fd7a6cfd072d09e6ce8610699f2220f2576444b977539d66fb44
MD5 5c462cc8a50f95c4033d5dae1c412321
BLAKE2b-256 d3b6c217141a0484e0f084df2d02509c7b5af35eb6b013860d222e5c26b286c8

See more details on using hashes here.

File details

Details for the file avl_register_abstraction_layer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avl_register_abstraction_layer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a6b3c7c80b98306d2fb5c9bc9028b4e9e8eb4d2e478ccbe0506b6989b9ba89
MD5 3d6d3c57788f67387c16be77c6d71c2c
BLAKE2b-256 49be724a6604f9658cfeb649acb6529099c5b9a965ed823971e81094019b2a89

See more details on using hashes here.

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