Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.14 KB

File metadata and controls

55 lines (35 loc) · 1.14 KB

Property IR

Intermediate representation of SVA properties. Currently at an early stage of development.

Prerequisites

Usage

Show help:

uv run prototype/src/main.py -h

Parse an example and generate a graph. If the output file already exists, it will be overwritten!

uv run prototype/src/main.py examples/example_input1.pir -g output_image.png

Remove placeholder nodes the were generated while parsing by using the option -b or --bypass.

uv run prototype/src/main.py examples/example_input4.pir -g output_image4.png -b

Establish the negation normal form by using the option -n or --normalform. The input needs to be a simple property.

uv run prototype/src/main.py examples/example_nnf1.pir -g output_image_nnf.png -n -b

Run the tests:

uv run pytest

Specification

The Property IR specification can be found online here.

Building the specification:

uv run sphinx-build -b html spec/source/ spec/build/html