Skip to main content

Formal verification support library for CoHDL

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cohdl_yosys-0.2.4.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cohdl_yosys-0.2.4-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file cohdl_yosys-0.2.4.tar.gz.

File metadata

  • Download URL: cohdl_yosys-0.2.4.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for cohdl_yosys-0.2.4.tar.gz
Algorithm Hash digest
SHA256 899c9fc5df7e0eee18b4b01449e1305c22df529f4c4b1955f5b6dcec2101d841
MD5 4df80db3e5ed5380b2700c7276322546
BLAKE2b-256 c9b97c6e4af24aa8b8894cd267d00ed67614eeda18107da5e47e59d0c925a56a

See more details on using hashes here.

File details

Details for the file cohdl_yosys-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: cohdl_yosys-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for cohdl_yosys-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1e7fa1ce48e24b6b1a76ea7318cf60852d69850744539dd923047f591d1f1b83
MD5 ff16986ef9e4fbccea318f065de8df04
BLAKE2b-256 85f47c6022c13dccff84ce58c4a1d479683e5c9377ce802f512b5ab3b2821043

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page