Legacy documentation: The Gurobi-based DPR flow is not present in the current ESP source tree. These instructions are retained only for users studying the historical AMD/Xilinx flow.
This guide describes the Gurobi optimizer used by that historical flow to design partially reconfigurable SoCs in ESP.
Gurobi Installation
The flow used the Gurobi optimizer with an academic license to automate the
floorplanning stage of a DPR design for AMD/Xilinx FPGAs. It was tested with
Gurobi version 8.1.1.
Sign in to the Gurobi download portal or create an account. Download the 8.1.1 Linux archive from the vendor and verify it using the integrity information provided by Gurobi before extracting it.
Once the installation is complete
mkdir <gurobi_install_path>
cd <gurobi_install_path>
tar xvf gurobi8.1.1_linux64.tar.gz
# Point the current shell at the local installation; do not write into /usr/lib.
export GUROBI_HOME=<gurobi_install_path>/gurobi811/linux64
export PATH="$GUROBI_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$GUROBI_HOME/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
Gurobi Academic License
After installation, request a Named-User Academic license from the
Gurobi license portal. Other
license types may also be used if they support Gurobi 8.1.1.
Once the license_code is generated run
"$GUROBI_HOME/bin/grbgetkey" <license-code>