Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

vyges-drc — CLI reference

Generated from vyges-drc --help. Do not edit by hand — run scripts/gen-cli-reference.sh.

vyges-drc — geometric design-rule check (GDS/OASIS + rule deck -> violations)

usage:
  vyges-drc check GDS --rules DECK [--top CELL] [-o OUT] [--json] [--fail-on-violation]
  vyges-drc fill  GDS --rules DECK [--top CELL] -o OUT.gds     # metal-fill generator
  vyges-drc demo  [--json]

The input layout may be GDSII (.gds) or OASIS (.oas/.oasis) — picked by extension.

flags:
  --rules DECK          the .drc rule deck (required for `check` / `fill`)
  --pdk NAME            resolve the deck from pdk-store (drc_deck) instead of --rules
  --top CELL            top cell to flatten (default: the sole cell)
  -o FILE               write the report (or, for `fill`, the filled GDS) to FILE
  --json                machine-readable JSON instead of text
  --fail-on-violation   exit 3 when any violation is found (CI gate)
  --views DIR    render ranked violation views (PNG) into DIR — diagnostic evidence,
                 not sign-off; capped, and the number dropped is reported
  --describe            print a machine-readable JSON description of the command
  -h, --help · -V, --version

Contract

Generated from vyges-drc --describe.

drc

geometric design-rule check (GDS/OASIS layout + rule deck)

Maturity: structured

check {gds} --rules {deck}
InputTypeRequiredDescription
gdsstringyeslayout file to check (.gds or .oas)
deckstringyesthe .drc rule deck
topstringnotop cell to flatten (default: the sole cell)
outstringnowrite the report to FILE instead of stdout

Artifacts: drc_report (report_path), drc_view (view_paths)

Assertion: drc-clean — passes when clean is true (summary from verdict_summary)

Provenance limitations

  • input_hash covers the argument vector, not the content of the GDS or rule deck it names.
  • A rule deck that includes other decks is not enumerated, so those are outside the hash.