This directory contains the code for the FTray MBFF clustering method. We have integrated the FTray method into the OpenROAD infrastructure.
- Clone OpenROAD using
git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD.git
- Copy the
mbff.cpp
andmbff.h
files to theOpenROAD/src/gpl/src/
directory. - Copy the
CMakeLists.txt
file to theOpenROAD/src/gpl/
directory. - Copy the
FindCplex.cmake
file to theOpenROAD/cmake/
directory. - Build OpenROAD using the following commands:
cd OpenROAD
mkdir build
cd build
cmake ..
make -j$(nproc)
- Load the design using OpenROAD.
- Run the following command to run the MBFF clustering:
cluster_flops -tray_weight $env(TRAY_WEIGHT) \
-timing_weight $env(TIMING_WEIGHT) \
-max_split_size -1 \
- Here,
TRAY_WEIGHT
andTIMING_WEIGHT
represent (\alpha) and (\beta) respectively.