extract_magic
Extract a SPICE netlist from layout using Magic batch mode (ext2spice lvs). Use a PDK tech file for device-accurate results; generic flow works without it.
Instructions
Extracts a SPICE netlist from layout with Magic batch mode (ext2spice lvs). Runs on generic technology: correct flow plumbing, but device-accurate extraction needs a PDK tech file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory. | |
| cell | No | Optional cell to select before extraction. | |
| source | Yes | Magic (.mag) or GDSII source layout. | |
| tech_file | No | Optional Magic technology file (required for device-accurate extraction). | |
| output_spice | No | Output SPICE path (default: <source>_extracted.spice). |