-
step 1: unroll the cycles to reduce registers in original btor2 file;
-
step 2: translate the unrolling btor2 file to polynomials.
CMake will automatic download btor2tools as dependency.
mkdir build && cd build
cmake ..
make
You will find an executable binary file btorTrans.
Run btorTrans to get polynomials.
./btorTrans examples/DividerFixedClock_2bit.btor2