You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fork of [ABC](https://github.com/berkeley-abc/abc) is used to track changes needed to compile ABC as a static library and interface with [mockturtle](https://github.com/lsils/mockturtle) (and to easily pull the latest changes in ABC).
2
2
3
+
Compilation with ABC as a static library is added to mockturtle in [PR #634](https://github.com/lsils/mockturtle/pull/634).
4
+
3
5
## Usage
6
+
Some code in mockturtle is only available when configured and compiled with the CMake option `ENABLE_ABC=1`, which will only work with a `libabc.a` file in `mockturtle/lib/abc_static/`. This repository serves to generate such file.
7
+
8
+
### Compile by yourself
4
9
Compile with command `make ABC_USE_NAMESPACE=abc ABC_USE_NO_READLINE=1 ABC_USE_NO_CUDD=1 libabc.a`, then move the obtained `libabc.a` file to `mockturtle/lib/abc_static/`.
10
+
11
+
### Download a precompiled library file
12
+
Download a precompiled library (.a) file according to your OS in [release](https://github.com/lsils/abc-staticlib/releases), then place it in `mockturtle/lib/abc_static/`.
0 commit comments