Installing OpenLane and the SKY130 PDK
Physical design requires practical tool execution. The subsequent modules require a functional OpenLane and SKY130 installation. This article outlines the installation procedure.
The Docker Container Strategy
OpenLane requires multiple underlying EDA tools: Yosys, OpenROAD, Magic, Netgen, and KLayout. Installing these tools natively on different operating systems creates version conflicts and dependency failures.
OpenLane eliminates these issues by using Docker containers. The container image bundles all required EDA tools, libraries, and Python dependencies. The host workstation requires only Docker, Git, and Python.
Installing OpenLane
Clone the OpenLane repository and execute the setup target:
git clone https://github.com/The-OpenROAD-Project/OpenLane.git
cd OpenLane
make
The git clone command downloads the flow orchestration scripts and Makefiles. The make command pulls the official Docker container image with pinned tool versions.
Validate the installation by running the automated test suite:
make test
This command runs a verified test design through the entire flow. Successful completion confirms that container execution, file mounting, and tool handoffs function correctly.
Installing the PDK with Volare
OpenLane requires the SKY130 PDK data files. Volare is the official PDK version manager for open-source semiconductor design. Volare downloads and configures specific tagged PDK releases.
Install Volare and activate the required PDK version:
pip install volare
volare enable <pdk-version>
Replace <pdk-version> with the specific commit hash or release tag required by your OpenLane release.
Pinning the PDK version guarantees reproducibility. Foundries update PDK files to correct modeling bugs, add cells, and adjust design rules. If you run a design against an unpinned PDK version, timing and DRC results can change unexpectedly. Industrial tapeouts pin exact PDK versions for the duration of the project.
Verifying the Installation
Verify that Volare installed the PDK files in the specified path:
volare enable <pdk-version>
ls $PDK_ROOT/sky130A
A correct installation displays the sky130A directory contents. This directory includes the standard cell libraries (sky130_fd_sc_hd), SPICE models, and technology rule decks.
Practice Exercise
An engineer runs volare enable without specifying a version tag, which installs the latest available PDK build. What risk does this action introduce?
Solution
Installing an unpinned PDK version risks tool incompatibility and design drift. Subsequent tool runs can produce different timing values, DRC violations, or layout geometries without any RTL code modifications.
Engineering teams must record the exact PDK commit hash in the project documentation. All team members must enable that specific version to guarantee reproducible results.
The next article explores the OpenLane directory layout and design folder structure.