Lsmap is based on the EPFL Logic Synthesis Libraries. We implement efficient choice mapping and optimization tools based on Mockturtle.
A modern compiler is required to build the libraries. Compiled successfully with Clang 6.0.1, Clang 12.0.0, GCC 7.3.0, GCC 8.2.0,and GCC 8.4.0.
git clone --recursive https://github.com/HuZhang0/lsmap.git
cd lsmap
mkdir build
cd build
cmake ..
make
./build/bin/lsmap
You can specify the path of the complier by extending cmake as follows:
cmake -DCMAKE_CXX_COMPILER=/path/to/c++-compiler ..
Please execute
git submodule update --recursive
if the third-party libraries are updated.
Then, run
git pull origin master
for the main repository updates.