Skip to main content

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)

Source distribution for cohdl-yosys 0.2.4
File Size Uploaded
cohdl_yosys-0.2.4.tar.gz 21.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cohdl-yosys 0.2.4
File Interpreter ABI Platform
cohdl_yosys-0.2.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

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