Picker
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 · 完整中文文档
- Use Picker: export RTL, clocks and waveforms, internal signals, languages, UVM.
- Look up an interface: CLI, DUT API, troubleshooting.
- Develop Picker: how it works, contributing and tests, documentation and Wiki.
Community
Report issues and suggestions through GitHub Issues. The community QQ group is 600480230. More verification resources are available in the MLVP documentation.
Metadata
Release files for uc-picker 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uc_picker-2.3.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.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
Release files / uc_picker-2.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | uc_picker-2.3.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 |
e71055dcd1f48641b12292821141bb6a18b6ebd083a9863f97f739fbcf0ac655
|
|
BLAKE2b-256 checksum How to use checksums |
93d1ccdf3424839b4cf7b372c211809c42e9df59ab918345c178837b0c220955
|
| 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 Oct 28, 2026.
Transparency logSecurity for uc-picker 2.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
1 file in this release has been uploaded with provenance metadata.
Attestation for uc_picker-2.3.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 Oct 28, 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.