Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

168 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages