Docker development environments for integrated circuits design.
Go to file
2023-09-06 11:27:28 -03:00
base Fix volare user and working directory 2023-09-06 01:04:10 -03:00
scripts Cosmetic changes 2023-09-06 03:32:55 -03:00
stacks Already on user designer 2023-09-06 11:27:28 -03:00
LICENSE Initial commit 2023-08-07 06:36:35 +00:00
README.md Fix license badge 2023-09-06 11:09:37 -03:00

Table of Contents

License: MIT

OSIC Stacks

Open Source Integrated Circuits Docker Stacks

Stacks

  • analog-xk: Analog workflow using XScheme & KLayout
  • analog-xm: Analog workflow using XScheme & Magic
  • digital-ator: Digital workflow using Verilator & Yosys
  • digital-icarus: Digital workflow using Icarus & Yosys
  • heavy: Workflow with all the previous tools

Usage

Follow these 3 steps to get your container ready.

1. Starting a container with graphics output

Scripts are provided for creating the containers in both Windows and Linux. These scripts automate the binding of graphics environment variables to the container in order to enable graphics inside the docker container.

Windows

Execute the next script in powershell.

& ([scriptblock]::Create((irm https://git.1159.cl/Mario1159/osic-stacks/raw/branch/main/scripts/wsl_start.ps1))) -remote

This script will run the container inside wsl and bind the enviroments variables for wslg.

Linux

Execute the next script in your terminal. Make sure you have curl already installed.

curl https://git.1159.cl/Mario1159/osic-stacks/raw/branch/main/scripts/linux_start.sh -o linux_start.sh

2. Connecting to the container

After creating and starting the container, enter to it executing a shell with docker.

docker exec -it <container_name> bash

3. Configure Volare

List the available PDKs and choose one to install.

volare ls-remote --pdk <sky130/gf180mcu>
volare enable --pdk <sky130/gf180mcu> <version_id>

After you have set up the PDK, you can finally start developing your own designs!

Build

A singular stack image can be builded using docker in the following way.

Note: Each stack image requires their correspondent base image installed.

docker build -t <tag> -f <arch/jammy>.Dockerfile <path>

Custom Images