Reference

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.json

Environment

export PROJECT_HOME=/path/to/COmPOSER

What It Reads

  • design.input_netlist
  • design.net_weights
  • dataset paths for inductors, T-lines, capacitors, and CPWDs
  • pdk, pad_direction, pad_mode, and decaps

What It Writes

  • project_name/stage_2/primitives/*.gds
  • project_name/stage_2/<topcell>_design.json
  • project_name/stage_2/<topcell>_nets.json

Recognized Primitive Types

  • RES
  • CAP
  • IND
  • CASMOS
  • CPWD

Other instance names are treated as fixed or black-box cells and instantiated from existing GDS assets.