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

GitHub Pages is rebuilt automatically when documentation changes reach main.

License

Version 1.1.1 is licensed under the FPGA Verification Commercial Reciprocity License 1.0. Releases up to and including version 1.1.0 remain under the license that accompanied each release.

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.0

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.0
File Actions
fpga_verification-1.2.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for fpga_verification-1.2.0-cp313-cp313-win_amd64.whl
fpga_verification-1.2.0-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for fpga_verification-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
fpga_verification-1.2.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for fpga_verification-1.2.0-cp312-cp312-win_amd64.whl
fpga_verification-1.2.0-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.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
fpga_verification-1.2.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for fpga_verification-1.2.0-cp311-cp311-win_amd64.whl
fpga_verification-1.2.0-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for fpga_verification-1.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
fpga_verification-1.2.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for fpga_verification-1.2.0-cp310-cp310-win_amd64.whl
fpga_verification-1.2.0-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.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Total release size: 50.8 MB

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

Download URL fpga_verification-1.2.0-cp313-cp313-win_amd64.whl
Size 1.5 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
86ac695ae6281884c6b9211dbbbbea8a139acacbdd12b13243fba9b4a016ea81
BLAKE2b-256 checksum
How to use checksums
ee065a905e8cde6869c8affe5ae9d3a277e5a516dc5936bb657402b5ed367dfb
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 11.2 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0bc4c65c8218f337b6412d17c23f15895d05d2a2d49f261da60141886bb0d909
BLAKE2b-256 checksum
How to use checksums
907067e71856478cbd015dac3f203eeb3871d9b571bd1a30f498efcbaf014a16
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp312-cp312-win_amd64.whl
Size 1.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
74b226f1f84894f3ac33412dbf10caada870a20de810898ae57f56f892168f52
BLAKE2b-256 checksum
How to use checksums
f4492d6dc7f08cce6f3aaf8265afc078c27cd4c756aeb9efb31172c82f389141
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 11.4 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d8178b2ba8eb454846a6dd4230e5dc6b0aca8f1b55b9809e0ab90fac238d85cb
BLAKE2b-256 checksum
How to use checksums
e3d30087fe83781f0412a65e4ab5c488647a1875369fb95491bc87b448a30c26
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp311-cp311-win_amd64.whl
Size 1.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
797197cb3daf372d6252fb0de15e163cda558391408b16bf29e072811ea79c28
BLAKE2b-256 checksum
How to use checksums
10998a9cb5da256005dd8484a38d6ad6e2146a25b83feb583dcd695edc82e77b
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 11.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
94cd395775d2b05c6738b86504d8e48d35146e041e762bd43a102e5ce1fdfef1
BLAKE2b-256 checksum
How to use checksums
34a2b0b5d3a42e2cfa6620f859639feede9e179b3d07fc8f7e6fc7f594e2b934
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp310-cp310-win_amd64.whl
Size 1.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e2428fd70ab645ba5a01254d0dbd677bcdf0b1481e8c011fa1a9744731422654
BLAKE2b-256 checksum
How to use checksums
17ed171eaadf8cf53664f6041f6ad0024e808e4e8b47a9bf81006a6626683545
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 11, 2026.

Transparency log

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

Download URL fpga_verification-1.2.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 10.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
853c1a7f352999514efdefadacc2cb2fc6088b05ec8dbb5c871e2bcdba4ea4ee
BLAKE2b-256 checksum
How to use checksums
2cded5e91580f63055947e1f01d416b78f5b9c0cb404acbe10eee32084037215
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 11, 2026.

Transparency log

Security for fpga-verification 1.2.0

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.0-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 11, 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