Skip to content

wafer-space/gf180mcu-precheck

Repository files navigation

gf180mcu Precheck

Precheck for wafer.space MPW runs using the gf180mcu PDK

Caution

This repository is still WIP.

The precheck performs the following checks:

  • Ensures there is only one top-level cell and it matches the --top argument.
  • Ensures the gf180mcu_ws_ip__id cell exists in the layout. Replaces its contents with a QR code of the --id argument.
  • Checks the density of the design.
  • Runs magic DRC.
  • Runs KLayout DRC.

TODO:

  • Remove all unused cells? This ensures gf180mcu_ws_ip__id is actually instantiated. Or just check the instantiations?

Prerequisites

Install LibreLane by following the Nix-based installation instructions: https://librelane.readthedocs.io/en/latest/getting_started/common/nix_installation/index.html

Clone the PDK with: make clone-pdk.

Run the Precheck

Enable a shell with all tools: nix-shell

Export the environment variables:

export PDK_ROOT=gf180mcu && export PDK=gf180mcuD

Now run the precheck with your layout:

python3 precheck.py --input chip_top.gds --top chip_top