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
--topargument. - Ensures the
gf180mcu_ws_ip__idcell exists in the layout. Replaces its contents with a QR code of the--idargument. - Checks the density of the design.
- Runs magic DRC.
- Runs KLayout DRC.
TODO:
- Remove all unused cells? This ensures
gf180mcu_ws_ip__idis actually instantiated. Or just check the instantiations?
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.
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