Skip to content

Commit a3b6ac9

Browse files
authored
Update README.md
1 parent d715ce5 commit a3b6ac9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
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).
22

3+
Compilation with ABC as a static library is added to mockturtle in [PR #634](https://github.com/lsils/mockturtle/pull/634).
4+
35
## 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
49
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

Comments
 (0)