Skip to main content

FPGA Verification

Reusable Python tools for FPGA simulation and hardware-in-the-loop verification. The library combines protocol codecs, cocotb and pyuvm components, Altera simulation runners, DMA modeling, performance measurements, and Quartus System Console access.

Documentation · PyPI · Video endianness example · Changelog

Install

Python 3.10 - 3.13 is supported.

python -m pip install fpga-verification

For local library development, install a checkout from the repository root in editable mode:

python -m pip install -e ".[docs]"

What is included

  • Avalon-ST and Avalon-MM cocotb helpers;
  • Altera Avalon-ST Video packets, codecs, agents, and scoreboards;
  • runners for plain RTL and generated Altera components;
  • an Altera streaming DMA model and sparse byte memory;
  • packet latency and throughput analysis;
  • persistent Quartus System Console access for hardware tests;
  • video frame and raw numeric data helpers.

Altera-specific functionality has one public root:

from fpga_verification.altera.video import VideoFormat, VIPFrameCodec
from fpga_verification.altera.video.uvm import VIPAgent
from fpga_verification.altera.dma import IntelDMABFM
from fpga_verification.altera.quartus import resolve_quartus_sim_lib

Simulation runners have one public root:

from fpga_verification.sim.runners import run_component_test, run_rtl_test

Runner conventions

Each run_test.py should use its own directory as the project root, so build trees, logs and generated files remain beside the test that owns them:

from pathlib import Path

from fpga_verification.sim.runners import run_rtl_test


PROJECT_ROOT = Path(__file__).resolve().parent

run_rtl_test(
    project_root=PROJECT_ROOT,
    sources=("../../rtl",),
    hdl_toplevel="dut",
    test_module="test",
)

RTL and Intel component runners use sources for their source input. Cocotb tests restore the resolved HDL/test configuration with load_test_config(), and host-side named cases can use resolve_config_case(). See Simulation runners for the complete contracts. Parameterized component regressions can declare test-local matrix axes and run them with python run_test.py --matrix; see Parameter matrix simulations.

Start with the documentation or run the video-packet endianness example. It preserves CONTROL and USER packets while reversing byte order in VIDEO payload beats. The repository includes examples for several verification patterns. The site separates a complete tutorial, verification concepts, focused how-to guides, case studies, and generated API reference.

Build the documentation locally

./docs/mkdoc.sh setup
./docs/mkdoc.sh serve
./docs/mkdoc.sh build

License

Project Use may begin immediately but requires a private Notice of Use within 30 days. See the notice instructions and template. Personal Use does not require notice. The complete terms in LICENSE control.

Metadata

Release files for fpga-verification 1.2.1

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

Built distributions (wheels)

Table of built distributions (wheels) for fpga-verification 1.2.1
File Actions
fpga_verification-1.2.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for fpga_verification-1.2.1-cp313-cp313-win_amd64.whl
fpga_verification-1.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for fpga_verification-1.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
fpga_verification-1.2.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for fpga_verification-1.2.1-cp312-cp312-win_amd64.whl
fpga_verification-1.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for fpga_verification-1.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
fpga_verification-1.2.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for fpga_verification-1.2.1-cp311-cp311-win_amd64.whl
fpga_verification-1.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for fpga_verification-1.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
fpga_verification-1.2.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for fpga_verification-1.2.1-cp310-cp310-win_amd64.whl
fpga_verification-1.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for fpga_verification-1.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Total release size: 55.2 MB

Release files / fpga_verification-1.2.1-cp313-cp313-win_amd64.whl

Download URL fpga_verification-1.2.1-cp313-cp313-win_amd64.whl
Size 1.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
d90f85f83da2681cb82ed006efad5932ad58e2c17d838877342cd29f0c53303f
BLAKE2b-256 checksum
How to use checksums
e8b97fb1764414da4db7ec85937f3a48dd9c73aa5d0c4f199f5a87a4b21795c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL fpga_verification-1.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 12.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
640377fc791d86c216887d31176dc60d93bd6e1fd73069f910000ae353cb9414
BLAKE2b-256 checksum
How to use checksums
6b57837880f5b34ce026eea8de62cdb99b089676e5cbfd37d42b04bb25629b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp312-cp312-win_amd64.whl

Download URL fpga_verification-1.2.1-cp312-cp312-win_amd64.whl
Size 1.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a2550c330bd7179a83e1bde3f66e1095da89b74cb1b98c16276dc8887319f407
BLAKE2b-256 checksum
How to use checksums
1f24720bfd2d64de99ec3bd9d78b6749e70235ddbc252da74aaf792983320d28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL fpga_verification-1.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 12.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
eba9daacb5eb08e1745a57180967788f3ce99817e266742ac5d55566fa36d4bd
BLAKE2b-256 checksum
How to use checksums
a5d78ffde3dee739657337eee8b7680f6ee2b937688466c9d6cf316974ab936f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp311-cp311-win_amd64.whl

Download URL fpga_verification-1.2.1-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a60b1f4f9f9ec793eefd4f28b74556ac1456ff1e25ddae213e133bbbc3521704
BLAKE2b-256 checksum
How to use checksums
01e7f6f184b6cc7859ba14eb7c5597ac2e2db9ee90b5f938acefe785ad6d58ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL fpga_verification-1.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 12.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
726486f7445c124e698a701f25ef9fed99725b7db3dab770c9da7f1faefca601
BLAKE2b-256 checksum
How to use checksums
6ca30181339007b9054f286aad6773116a2b13b1f815f31031db763f323b5e34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp310-cp310-win_amd64.whl

Download URL fpga_verification-1.2.1-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6a6decfdbdbeac8db95121e63b4a7b9a405ca98b2913c775f724c6c37ae9d718
BLAKE2b-256 checksum
How to use checksums
9b4d27fe9c4916540869cd7acb678eed30dcae2a5d8f7b0ff7367463c1d87173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / fpga_verification-1.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL fpga_verification-1.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 11.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
450cc1aa333b4c98f19828c1c60b82f92ebb762a77323cd46c24c9ced45a7cd6
BLAKE2b-256 checksum
How to use checksums
1d6120a82448ce6a00e71faed7b0286ed876280352a4f501a45d8d32e1cfafb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for fpga-verification 1.2.1

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for fpga_verification-1.2.1-cp313-cp313-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

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