Skip to main content

Picker

PyPI Python PR CI License Docs GitHub Stars

English | 中文

Picker exports Verilog/SystemVerilog designs as Python, C++, Java, Scala, Go, or Lua modules, so you can write hardware tests in a familiar language. Tests can read and write signals, advance clocks, check results, and save waveforms. Picker also generates transaction bridges between Python and UVM.

The Python distribution is uc-picker; the command remains picker. It depends on uc-xcomm and SWIG.

Get started

Install Picker, then follow the adder tutorial to run your first test. From the repository root, export a Python module:

picker export example/Adder/Adder.v --sname Adder --lang python \
    --sim verilator --tdir build/docs-adder/Adder --autobuild false
make -C build/docs-adder/Adder -j4

Create a test in the generated package's parent directory to assign inputs by port name and check outputs. The tutorial includes a complete script and expected results.

VCS integration

Generated Python DUT classes expose SIMULATOR (for example, DUTAdder.SIMULATOR == "vcs") and GetSimulator(). This identifies the export backend, not a runtime backend switch.

VCS waveform paths must use .fsdb; use --verdi-mode modern with current Verdi releases. VCS source builds enable -kdb by default so the generated .daidir database can be opened in Verdi. Imported precompiled libraries must supply their own matching debug database. Finish() finalizes simulation and coverage in a forked child and waits for it, allowing Python to continue pytest teardown and report generation.

Coverage-enabled VCS exports include coverage/coverage, a standalone UCAPI query executable using schema version 1, without xcomm coverage-client bindings. GetCoveragePath() returns the actual VDB; SetCoverage() selects a testdata name. Finalization uses a database lock before the snapshot can be queried. Regenerate and rebuild existing DUT packages after upgrading; installing Picker or updating only the Python reporter does not update their compiled libraries.

Documentation

English documentation · 完整中文文档

Community

Report issues and suggestions through GitHub Issues. The community QQ group is 600480230. More verification resources are available in the MLVP documentation.

Code of conduct · Security reports · License

Metadata

Release files for uc-picker 2.4.0

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

Built distribution (wheel)

Table of built distributions (wheels) for uc-picker 2.4.0
File Interpreter ABI Platform Actions
uc_picker-2.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for uc_picker-2.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Release files / uc_picker-2.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL uc_picker-2.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 5.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
75a3d0cbcc6f0bf2e2da9c449e74ecd3ab495e8a5750902ec179164239586e19
BLAKE2b-256 checksum
How to use checksums
54c007369d135f11016a036b69e4c62b826b16a87bc1b53fd1e8b80a3241306e
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 9, 2026.

Transparency log

Security for uc-picker 2.4.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

1 file in this release has been uploaded with provenance metadata.

Attestation for uc_picker-2.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.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 9, 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