phyLS/README.md

33 lines
861 B
Markdown
Raw Permalink Normal View History

2022-12-14 01:13:43 +00:00
# powerful heightened yielded Logic Synthesis (phyLS)
2022-12-14 00:56:39 +00:00
2023-03-14 13:07:43 +00:00
phyLS is based on the [mockturtle](https://github.com/lsils/mockturtle) and the [abc](https://github.com/berkeley-abc/abc), it can optimize different logics attributes.
Currently, it supports mockturtle format(AIG, MIG, XAG, XMG) and abc format(AIG,GIA) based optimization.
2022-12-14 00:56:39 +00:00
2022-12-21 10:07:48 +00:00
[Read the documentation here.](https://phyls.readthedocs.io/en/latest/)
2022-12-14 00:56:39 +00:00
## Requirements
2022-12-14 01:13:30 +00:00
A modern compiler is required to build the libraries.
Compiled successfully with Clang 6.0.1, Clang 12.0.0, GCC 7.3.0, and GCC 8.2.0.
2022-12-14 00:56:39 +00:00
## How to Compile
```bash
2024-05-10 07:29:43 +00:00
git clone -b aig --recursive https://github.com/panhongyang0/phyLS.git
2022-12-14 01:13:30 +00:00
cd phyLS
2022-12-14 00:56:39 +00:00
mkdir build
cd build
cmake ..
make
2022-12-14 01:13:30 +00:00
./bin/phyLS
2022-12-14 00:56:39 +00:00
```
2024-05-09 08:10:23 +00:00
## baseline scripts
```bash
read_aiger ../benchmarks/adder.aig;
ps -a;
resub;
balance;
rewrite;
2024-05-10 07:29:43 +00:00
read_genlib ../src/mcnc.genlib;
techmap;
2024-05-09 08:10:23 +00:00
quit;
```