drc_klayout
Run DRC checks on a GDS file using KLayout, with a generic width/space smoke deck by default or a custom PDK deck when specified.
Instructions
Runs KLayout batch DRC on a GDS file. Default is a generated generic width/space smoke deck over the layout's own layers (geometry sanity, not foundry signoff). Pass deck_file for a real PDK rule deck. Does not do LVS; use lvs_netgen for netlist comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory. | |
| gds_file | Yes | GDSII layout file to check. | |
| space_um | No | Generic-deck min space in um (default: 0.09). | |
| width_um | No | Generic-deck min width in um (default: 0.06). | |
| deck_file | No | Optional custom KLayout .drc rule deck (batch-mode with source()/report()). |