Skip to main content

Apheleia Verification Library. A set of Python base classes for efficient HDL verification.

Project description

AVL - Apheleia Verification Library

License: MIT Python

AVL has been developed by experienced, industry professional verification engineers to provide a methodology
and library of base classes for developing functional verification environments in Python.

AVL is built on the CocoTB framework, but aims to combine the best elements of
UVM in a more engineer friendly and efficient way.

CocoTB 2.0

AVL now supports CocoTB2.0 https://docs.cocotb.org/en/development/upgrade-2.0.html. This was introduced in v0.3.0.

All older versions support v1.9.1 and will fail if run with CocoTB 2.0.

To upgrade follow the instructions given on the link above.


📦 Installation

Using pip

# Standard build
pip install avl-core

# Development build
pip install avl-core[dev]

Install from Source

git clone https://github.com/projectapheleia/avl.git
cd avl

# 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 Verilator, GTKWave and Graphviz installed, so all examples and documentation will build out of the box.

git clone https://github.com/projectapheleia/avl.git
cd avl
source avl.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

Additional Libraries / UVCs

Library Description
avl-apb AMBA APB UVC
avl-axi-stream AMBA AXI-STREAM UVC
avl-axi AMBA AXI5 UVC
avl-riscv-coverage RISCV Coverage collection from trace framework
avl-tutorials AVL Tutorials and introduction presentations

📧 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_core-0.5.0.tar.gz (115.8 kB view details)

Uploaded Source

Built Distribution

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

avl_core-0.5.0-py3-none-any.whl (134.2 kB view details)

Uploaded Python 3

File details

Details for the file avl_core-0.5.0.tar.gz.

File metadata

  • Download URL: avl_core-0.5.0.tar.gz
  • Upload date:
  • Size: 115.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for avl_core-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a8c76a59f1df67c62a3b4451dcf294d10281002056199810ac686a722dc1866e
MD5 3ec0648c87c9d4cb27046c5197f8df47
BLAKE2b-256 4cc5be28f34976d3284e913ea8cbe115467b259f9c3945ac489f586ab5295473

See more details on using hashes here.

File details

Details for the file avl_core-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: avl_core-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 134.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for avl_core-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ab82807a5d0cf1a4bb17875a506b5d21781f62b5c975423009ffa00ac9d9250
MD5 50885ec6244b61e1713f0d60b0d49d9c
BLAKE2b-256 658d77d1f93d44dbcca4529f59cfa2cb3829cd7f2c359fd042706c9a63b48210

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