Download chips/openroad_flow_scripts/docs/user/BuildLocally.md from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/docs/user/BuildLocally.md
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/openroad_flow_scripts/docs/user/BuildLocally.md
-
curl -L -o BuildLocally.md https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/docs/user/BuildLocally.md
Build from sources locally
Clone and Install Dependencies
The setup.sh script installs all of the dependencies, including OpenROAD dependencies, if they are not already installed.
Supported configurations are: Ubuntu 26.04 and Ubuntu 24.04.
git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
cd OpenROAD-flow-scripts
sudo ./setup.sh
setup.sh installs the Python packages the flow uses, the klayout
module that writes GDS among them, into a virtual environment in .venv,
which env.sh puts first on PATH.
Build
./build_openroad.sh --local
:::{Note}
There is a build_openroad.log file that is generated with every
build in the main directory. In case of filing issues, it can be uploaded
in the "Relevant log output" section of OpenROAD-flow-scripts repo
issue form.
:::
Verify Installation
The binaries should be available on your $PATH after setting
up the environment. The make command runs from RTL-GDSII generation for default design gcd with nangate45 PDK.
source ./env.sh
yosys -help
yosys -p "slang_version"
openroad -help
cd flow
make
You can view final layout images in OpenROAD GUI using this command.
make gui_final
Compiling and debugging in Visual Studio Code
Set up environment variables using dev_env.sh, then start Visual Studio Code. Please ensure CMake plugins are installed.
. ./dev_env.sh
code tools/OpenROAD/
