LibreLane Setup Guide

This guide helps you set up LibreLane for use with the IHP SG13G2 PDK. For complete installation instructions, see the official LibreLane documentation.

Prerequisites

Before starting, install LibreLane following the Nix installation guide for Linux.

Important: The official guide uses the Determinate Systems Nix installer which automatically configures the FOSSi Foundation binary cache for faster downloads.

Quick Start

After installing LibreLane, verify the installation:

cd /path/to/librelane
nix-shell
librelane --smoke-test

If successful, you’re ready to use LibreLane with IHP SG13G2.

PDK Configuration

LibreLane can manage the IHP SG13G2 PDK automatically or use a manual installation.

Manual PDK Installation (Optional)

For offline use, development, or testing with the latest PDK version, see the IHP PDK installation guide.

Clone the PDK:

git clone --branch dev --recurse-submodules https://github.com/IHP-GmbH/IHP-Open-PDK.git
cd IHP-Open-PDK

Note: The --recurse-submodules option is required to populate submodules included in the PDK repository. The dev branch contains the latest changes and is ahead of main.

Use with LibreLane:

# Assuming you are inside the IHP-Open-PDK directory
export PDK_ROOT="$(pwd)"
librelane --pdk ihp-sg13g2 --pdk-root $PDK_ROOT --manual-pdk config.yaml

Next Steps

Continue with the LibreLane tutorial to implement your first design with IHP SG13G2.

Additional Resources