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
Read the installed distribution version without duplicating it in application code:
import fpga_verification
print(fpga_verification.__version__)
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;
- optional cocotb functional-coverage integration and guidance;
- 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 ordinary runs can select project-local parameter presets with
--param-preset. 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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 63.7 MB
Release files / fpga_verification-1.3.0-cp313-cp313-win_amd64.whl
| Download URL | fpga_verification-1.3.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
676b3ecc6178dac8c28da7845034fffc1b4f77d9b64eb9273859117f03c161c8
|
|
BLAKE2b-256 checksum How to use checksums |
1f2b04aeff43c3f7069eeafc76e846ac7aa995ce63aec81ea57013235b18a6d3
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fpga_verification-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 14.0 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
040e8fee813379402dcbbd03ae731196abe098465b19354ea70e36e0ec342281
|
|
BLAKE2b-256 checksum How to use checksums |
28b4e9be5be01038c2c615e0736cc7b80cabfca063a82736c07f3fdfb4b3f71e
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp312-cp312-win_amd64.whl
| Download URL | fpga_verification-1.3.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4435804b601182246837f08e5231e1e5faa23b89b9963b6ac7c302ba91907430
|
|
BLAKE2b-256 checksum How to use checksums |
f602a96430addad1a62fcbdb56242e92a36fe9c5c05867f1fed803d62a765fa2
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fpga_verification-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 14.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
da9a22688851423342c779001e8e3c176516e242bca30850f519b1727dded3fa
|
|
BLAKE2b-256 checksum How to use checksums |
86642e52bda303e477b6f89ce6d0548bbba398b2ab291070acc2d32030e888bc
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp311-cp311-win_amd64.whl
| Download URL | fpga_verification-1.3.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
31baba9963bd020a72bd3174b4b61dcd559e60e8bb5ab2bd5d6455857f562230
|
|
BLAKE2b-256 checksum How to use checksums |
6f8f361c4e03d11764b5138d77887b5e622e41b458062c7ef0516fafba10b04a
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fpga_verification-1.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 14.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
16c52f6a1be02f7ca01b8cc4ac3d034b98ff4f55dc7a32208e57442573b6fc5c
|
|
BLAKE2b-256 checksum How to use checksums |
449186b4ad0fefb86eb7073748312e3164048fb64dd94aa09b8bb48fa792411a
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp310-cp310-win_amd64.whl
| Download URL | fpga_verification-1.3.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1c735cc59e3204c3b57d95aa5dd9fc1a8663806121369ceba6534b765047cb64
|
|
BLAKE2b-256 checksum How to use checksums |
03f8a68da3be769106fbbd678569d6a928c0708e037cb3eac56f34b9c1a06bb2
|
| 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 27, 2026.
Transparency logRelease files / fpga_verification-1.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fpga_verification-1.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 13.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ed92f9c74dab3f7bfc3f9b447c94c52690056c8697a67bc61541b90aa8c1a435
|
|
BLAKE2b-256 checksum How to use checksums |
2187852ccb904c284202658166e091621526d9c14840f747f2a4d9ff98e83fc5
|
| 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 27, 2026.
Transparency logSecurity for fpga-verification 1.3.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.
Attestation for fpga_verification-1.3.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 27, 2026.
Transparency logA 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.