aigverse - A Python Library for Logic Networks, Synthesis, and OptimizationΒΆ
aigverse is an open-source C++17 and Python infrastructure library for working with logic networks, synthesis, and
optimization in Python-first workflows.
It builds directly upon the EPFL Logic Synthesis Libraries, particularly mockturtle, kitty, and lorina, and exposes these mature C++ capabilities through an idiomatic Python interface. This allows users to run synthesis workflows from Python without reimplementing core algorithms there. The result is reusable support for And-Inverter Graph (AIG) construction and manipulation, optimization and equivalence checking, dataset generation, and export into graph and numeric representations for downstream data science and ML pipelines.
Key features include:
Efficient logic representation using And-Inverter Graphs (AIGs)
Support for various file formats (AIGER, Verilog, Bench, PLA)
High-performance C++ backend with a Pythonic interface
Optional adapters for graph and numeric interoperability in machine learning and data science workflows
Comprehensive tools for logic synthesis and optimization
On-demand access to standard benchmark suites (e.g., EPFL), downloaded once and cached locally
An optional bridge to an externally installed ABC for its optimization scripts
aigverse is designed as reusable bridge infrastructure rather than as a full end-to-end EDA toolchain.
This documentation provides a comprehensive guide to the aigverse library, including
installation instructions, a quickstart guide, and detailed
API documentation.
The source code of aigverse is publicly available on GitHub
at marcelwa/aigverse, while pre-built binaries are available
via PyPI for all major operating systems and all modern Python versions.
See also
For the design and technical details of aigverse, see our ASPDAC 2027 paper.
If you use aigverse in your research, please cite:
@inproceedings{walter2027aigverse,
author = {Marcel Walter and Isabella Venancia Gardner and Robert Wille},
title = {{aigverse}: A Unified Infrastructure for Machine Learning-Driven Logic Synthesis},
booktitle = {32nd Asia and South Pacific Design Automation Conference (ASPDAC '27)},
year = {2027},
publisher = {Association for Computing Machinery},
doi = {10.1145/3840404.3848264}
}
User Guide
Developers