Netlist Parsing
parse_netlist.py is the main stage 2 entry point. It turns the sized SPICE netlist into generated primitive GDS blocks plus the JSON consumed by placement and routing.
Command
python3 parse_netlist.py --config EXAMPLES/LNA_1/config.jsonEnvironment
export PROJECT_HOME=/path/to/COmPOSERWhat It Reads
design.input_netlistdesign.net_weights- dataset paths for inductors, T-lines, capacitors, and CPWDs
pdk,pad_direction,pad_mode, anddecaps
What It Writes
project_name/stage_2/primitives/*.gdsproject_name/stage_2/<topcell>_design.jsonproject_name/stage_2/<topcell>_nets.json
Recognized Primitive Types
RESCAPINDCASMOSCPWD
Other instance names are treated as fixed or black-box cells and instantiated from existing GDS assets.