dv-flow-libcocotb
DV Flow Manager (dfm) tasks for building and running cocotb testbenches.
dv-flow-libcocotb contains no simulator build/run code — it emits dfm data
items that drive the simulator tasks in
dv-flow-libhdlsim. The same flow
graph works for every supported simulator:
rtl, cocotb.<sim>.Setup -> hdlsim.<sim>.SimImage -> hdlsim.<sim>.SimRun
(+ cocotb.TestConfig)
cocotb.<sim>.Setup— emits the cocotb VPI library, the cocotb run-time environment, and (for Verilator) cocotb's C++ main plus--prefix Vtop.cocotb.TestConfig— selects the test module(s)/case(s) and HDL toplevel.cocotb.CheckResults— turnsresults.xmlfailures into dfm errors.
Verified end-to-end with Icarus Verilog and Verilator. See docs/ for the
design, the implementation plan, and the user guide.
Quickstart (Verilator)
package:
name: my_dv
imports: [std, hdlsim.vlt, cocotb, cocotb.vlt]
tasks:
- name: rtl
uses: std.FileSet
with: { base: rtl, type: verilogSource, include: "*.v" }
- name: setup
uses: cocotb.vlt.Setup
with: { pythonpath: [tb] }
- name: testcfg
uses: cocotb.TestConfig
with: { module: [test_dff], toplevel: dff }
- name: build
uses: hdlsim.vlt.SimImage
needs: [rtl, setup]
with: { top: [dff] }
- name: sim
uses: hdlsim.vlt.SimRun
needs: [build, testcfg]
- name: check
uses: cocotb.CheckResults
needs: [sim]
dfm run check
Metadata
Release files for dv-flow-libcocotb 0.0.128303801906
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 |
|---|---|---|---|---|
| dv_flow_libcocotb-0.0.128303801906-py3-none-any.whl | Python 3 | none | any | Details for dv_flow_libcocotb-0.0.128303801906-py3-none-any.whl |
Release files / dv_flow_libcocotb-0.0.128303801906-py3-none-any.whl
| Download URL | dv_flow_libcocotb-0.0.128303801906-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84200538d69902d94c45b36b26f0a2c469e1cfddd570f0905838c820b1c99982
|
|
BLAKE2b-256 checksum How to use checksums |
eecd704e09b9625f9dad6905c75458c51017a0490ae616cd17206af7c84ac31f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for dv-flow-libcocotb 0.0.128303801906
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.