File size: 2,896 Bytes
d59bb1b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# Using Pre-built Binaries
## Install Klayout and Yosys
Please ensure the Klayout version (denoted with `klayoutVersion` variable) is consistent with the one used in [DependencyInstaller script](https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/etc/DependencyInstaller.sh).
Instructions for installing:
- [Klayout>=0.28.8](https://www.klayout.de/build.html)
- [Yosys>=0.39](https://github.com/YosysHQ/oss-cad-suite-build/blob/master/README.md#installation)
```{tip} Unfortunately KLayout maintainers do not provide Debian 10/11 compatible packages. You can follow the build-from-sources instruction (Version >=0.25) and Ubuntu 22 instructions [here](https://www.klayout.de/build.html#:~:text=Building%20KLayout%20on%20Linux%20(Version%20%3E%3D%200.25)).
```
## Install OpenROAD
Download pre-built binaries with self-contained dependencies
included from the Precision Innovations' GitHub releases
[here](https://github.com/Precision-Innovations/OpenROAD/releases).
Thanks to [Precision Innovations](https://precisioninno.com/) for hosting and maintaining these binaries.
The following platforms are supported currently:
- Ubuntu 20.04/22.04
- Debian 10/11
Use the following steps to download:
Step 1: Click on the [Precision Innovations Github releases link](https://github.com/Precision-Innovations/OpenROAD/releases).
Step 2: Download the artifacts for your distribution.
Step 3: Run the install command based on platform use package installer.
For example Ubuntu 20.04 use:
```shell
sudo apt install ./openroad_2.0_amd64-ubuntu20.04.deb
```
## Install Klayout and Yosys
Please ensure the Klayout version (denoted with `klayoutVersion` variable) is consistent with the one used in [DependencyInstaller script](https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/etc/DependencyInstaller.sh).
Instructions for installing:
- [Klayout>=0.28.8](https://www.klayout.de/build.html)
- [Yosys>=0.39](https://github.com/YosysHQ/oss-cad-suite-build/blob/master/README.md#installation)
```{tip} Unfortunately KLayout maintainers do not provide Debian 10/11 compatible packages. You can follow the build-from-sources instruction (Version >=0.25) and Ubuntu 22 instructions [here](https://www.klayout.de/build.html#:~:text=Building%20KLayout%20on%20Linux%20(Version%20%3E%3D%200.25)).
```
## Verify Installation
You may clone the OpenROAD-flow-scripts repository non-recursively.
```
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
```
Export path variables accordingly.
```
# these variables are used in flow/Makefile. Do make sure the yosys path is sourced.
export OPENROAD_EXE=$(command -v openroad)
export YOSYS_CMD=$(command -v yosys)
# only if KLayout is built from source
export LD_LIBRARY_PATH="<klayout_location>/bin:$PATH"
yosys -help
openroad -help
cd flow
make
make gui_final
```
|