cohdl_sim
cohdl_sim is a simulation support library for CoHDL. It is based on cocotb and works by turning CoHDL designs into VHDL and passing that code to cocotb test benches.
In addition cohdl_sim defines an abstraction layer so test code looks like CoHDL instead of cocotb.
getting started
cohdl_sim requires Python3.11 or higher. You can install it by running
python3 -m pip install cohdl_sim
Since cohdl_sim is just a wrapper around cocotb you will also need one of the supported VHDL simulators. So far I have only used GHDL.
direct GHDL support
In addition to the cocotb abstraction, this simulation library provides a custom backend that directly invokes GHDL via the VPI interface. This is only supported under Linux and requires GHDL (with the GCC backend).
The main advantage over the cocotb simulator is, that it runs in the same context as the Python code starting it. The Python debugger can therefor be used to step through testbench code. It is also possible to run tests inside Jupyter notebooks.
Metadata
Release files for cohdl-sim 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cohdl_sim-0.2.4.tar.gz | 21.5 kB | Without provenance | Details for cohdl_sim-0.2.4.tar.gz |
Release files / cohdl_sim-0.2.4.tar.gz
| Download URL | cohdl_sim-0.2.4.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f738e417a129ba112b83e87831e6a738652036e50973470691e8e254ce2b68c8
|
|
BLAKE2b-256 checksum How to use checksums |
ae17be1f01f85d2ca086139d9cc44447500d0d445ba31425b9d718b4108ed182
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Security for cohdl-sim 0.2.4
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.