Skip to main content

AVL-AXI - Apheleia Verification Library AMBA AXI Verification Component

License: MIT Python

AVL-AXI has been developed by experienced, industry professional verification engineers to provide a simple,
extensible verification component for the AMBA AXI Bus
developed in Python and the AVL library.

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-AXI supports CocoTB2.0 https://docs.cocotb.org/en/development/upgrade-2.0.html.

To upgrade follow the instructions given on the link above.

Protocol Features

For full details see the docs. A few of the cache extensions are not supported in the initial release, but the bus features
including most sidebands are supported.

If you are interested contact avl@projectapheleia.net to discuss.

Of the advanced features full support of exclusives and atomic operation are provided in the Subordinate memory model.

Parameter Name Supported
Atomic_Transactions YES
BURST_Present YES
Busy_Support SIDEBAND
CACHE_Present SIDEBAND
Cache_Line_Size SIDEBAND
Cache_Stash_Transactions SIDEBAND
Check_Type NO
CMO_On_Read SIDEBAND
CMO_On_Write SIDEBAND
Coherency_Connection_Signals NO
Consistent_DECERR YES
DeAllocation_Transactions SIDEBAND
Device_Normal_Independence NO
DVM_Message_Support NO
DVM_v8 NO
DVM_v8_1 NO
DVM_v8_4 NO
DVM_v9_2 NO
Exclusive_Accesses YES
Fixed_Burst_Disable YES
InvalidateHint_Transaction SIDEBAND
LEN_Present YES
Loopback_Signals YES
Max_Transaction_Bytes YES
MEC_Support SIDEBAND
MMUFLOW_Present SIDEBAND
MPAM_Support SIDEBAND
MTE_Support NO
Multi_Copy_Atomicity SIDEBAND
NSAccess_Identifiers SIDEBAND
Ordered_Write_Observation YES
PBHA_Support SIDEBAND
Persist_CMO SIDEBAND
Poison SIDEBAND
Prefetch_Transaction SIDEBAND
PROT_Present SIDEBAND
QoS_Accept YES
QOS_Present SIDEBAND
Read_Data_Chunking NO
Read_Interleaving_Disabled YES
REGION_Present SIDEBAND
Regular_Transactions_Only YES
RLAST_Present YES
RME_Support SIDEBAND
Shareable_Cache_Support SIDEBAND
Shareable_Transactions SIDEBAND
SIZE_Present YES
STASHLPID_Present SIDEBAND
STASHNID_Present SIDEBAND
Trace_Signals SIDEBAND
Unique_ID_Support YES
UnstashTranslation_Transaction SIDEBAND
Untranslated_Transactions SIDEBAND
Wakeup_Signals YES
WLAST_Present YES
Write_Plus_CMO SIDEBAND
WriteDeferrable_Transaction SIDEBAND
WriteNoSnoopFull_Transaction SIDEBAND
WriteZero_Transaction SIDEBAND
WSTRB_Present SIDEBAND
AXI_Transport YES
Num_RP YES
Shared_Credits YES

Component Features

  • Majority of protocol features supported
  • Simple RTL interface to interact with HDL and define parameter and configuration options
  • Manager sequence, sequencer and driver with easy to control rate limiter and wakeup control
    • Support for pipelined sequence based on control, data or response acknowledge
  • Subordinate driver with vanilla, random and memory response patterns (including exclusive and atomic operation support) and rate limiter
  • Maximum outstanding transaction and maximum outstanding bytes suppport
  • Parallel and independent read and write channels with support for early write data
  • Monitor with configurable callbacks for control, data and response phases
  • Bandwidth monitor generating bus activity plots over user defined windows during simulation
  • Functional coverage including performance measurements
  • Searchable trace file generation
  • Narrow-transfer lane steering

📦 Installation

Using pip

# Standard build
pip install avl-axi

# Development build
pip install avl-axi[dev]

Install from Source

git clone https://github.com/projectapheleia/avl-axi.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 Graphviz and appropriate simulator installed, so all examples and documentation will build out of the box.

git clone https://github.com/projectapheleia/avl-axi.git
cd avl-axi
source avl-axi.sh

📖 Documentation

In order to build the documentation you must have installed the development build.

Build from Source

cd doc
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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avl_axi-1.1.0.tar.gz (46.4 kB view details)

Uploaded Source

Built Distribution

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

avl_axi-1.1.0-py3-none-any.whl (59.8 kB view details)

Uploaded Python 3

File details

Details for the file avl_axi-1.1.0.tar.gz.

File metadata

  • Download URL: avl_axi-1.1.0.tar.gz
  • Upload date:
  • Size: 46.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for avl_axi-1.1.0.tar.gz
Algorithm Hash digest
SHA256 89b26625e13b072a5ad18f985bb0c4cef3d511dd23ed2ea64871df9826869b84
MD5 0855e0b82738ec3d550871c7febb1c5c
BLAKE2b-256 eaa72e2f6fe9f937066b90f6b00cd3dbbe04cf4f5aeca3d6534d24e3dc321b9b

See more details on using hashes here.

File details

Details for the file avl_axi-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: avl_axi-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 59.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for avl_axi-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e8c690ab6041f98655548915a3afc11b830893a85feab994975d44d5a8d6b8b
MD5 ec18b9c7a60ff1f20c61e8b68202a34c
BLAKE2b-256 6e57230983c23a7eacbaed39658f7981adb0445f5ef73a676978634c12d99e2b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

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