Skip to content

ucb-bar/sky130-chipyard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKY 130 Chipyard

A SKY 130 tapeout harness built with Chipyard.

BWRC Setup

Install conda (say "yes" and press enter when prompted):

mkdir -m 0700 -p /tools/C/$USER
cd /tools/C/$USER
wget -O Miniforge3.sh \
"https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -p "/tools/C/${USER}/conda"

Then, run Chipyard setup from the root directory of this repo:

source ~/.bashrc
mamba install -n base conda-lock=1.4
mamba activate base
./build-setup.sh riscv-tools -s 6 -s 7 -s 8 -s 9 -s 10 --force
./scripts/init-vlsi sky130

Add the following to the generated env.sh file:

export PATH=/tools/C/rohankumar/circt/build/bin

To run synthesis, P&R, DRC, and LVS on a TinyRocket in SKY 130:

make syn
make par
make drc
make lvs

Make sure you can view the results and that they look correct (DRC and LVS should be clean).

Development

This harness is currently under development. It is based on the STAC tapeout from June 2023, but aims to be more general-purpose and simple.

Relevant files from STAC:

Files in this harness that will need to be modified/added:

TODOs

  • Find better solution to issue where place halo is smaller than power grid blockage
  • Get design passing DRC (standard and latchup decks)
  • Check whether CDL hack converting generic resistor to short breaks anything

Releases

No releases published

Packages

No packages published

Languages

  • C 44.7%
  • Scala 36.0%
  • Makefile 8.1%
  • Shell 3.3%
  • C++ 3.0%
  • Verilog 2.3%
  • Other 2.6%