cohdl_yosys
cohdl_yosys is a small Python library that adds formal verification support to the CoHDL hardware description language.
It consists of two main components:
-
a module of utility functions to describe formal properties of hardware designs
These functions use the inline code feature of CoHDL to embed PSL statements into the generated VHDL representation.
-
an abstaction layer to define SymbiYosys projects as Python classes
The verification tools can either be invoked directly or via the Python unittest module. This allows for easy test automation and IDE integration.
The library is not limited to CoHDL designs. It is also possible to verify VHDL code.
documentation
The documentation of cohdl_yosys can be found in the cohdl_documentation repo.
installation
cohdl_yosys itself is available as a pip package and can installed with:
pip install cohdl_yosys
Since the library relies on GHDL, SymbiYosys and the ghdl-yosys-plugin to perform the actual verification, these components and their dependencies need to be installed too. You can use the Dockerfile in the cohdl_documentation repo as a reference or work with the cohdl docker image directly.
Metadata
Release files for cohdl-yosys 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_yosys-0.2.4.tar.gz | 21.0 kB | Without provenance | Details for cohdl_yosys-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cohdl_yosys-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for cohdl_yosys-0.2.4-py3-none-any.whl |
Total release size: 43.1 kB
Release files / cohdl_yosys-0.2.4.tar.gz
| Download URL | cohdl_yosys-0.2.4.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
899c9fc5df7e0eee18b4b01449e1305c22df529f4c4b1955f5b6dcec2101d841
|
|
BLAKE2b-256 checksum How to use checksums |
c9b97c6e4af24aa8b8894cd267d00ed67614eeda18107da5e47e59d0c925a56a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Release files / cohdl_yosys-0.2.4-py3-none-any.whl
| Download URL | cohdl_yosys-0.2.4-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e7fa1ce48e24b6b1a76ea7318cf60852d69850744539dd923047f591d1f1b83
|
|
BLAKE2b-256 checksum How to use checksums |
85f47c6022c13dccff84ce58c4a1d479683e5c9377ce802f512b5ab3b2821043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Security for cohdl-yosys 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.