Using the method provided by DAG-Map: Graph Based FPGA Technology Mapping For Delay Optimization.
Using C++11.
./make.sh
./map -k 2 input.blif
I only implement DMIG algorithm of the paper, so the argument k have to be 2.
I use map from STL to store the graph of circuits.
在 [直接拆的版本] 資料節內。
./make.sh