Tools

Utilities

Several helper scripts are useful independently from the full flow, especially for mapping, LEF generation, GDS assembly, and PDN construction.

Main Utilities

  • map_initial_size_to_netlist.py: map hybrid-optimizer design values into the SPICE netlist
  • utils/convert_gds2lef.py: convert one primitive GDS into one LEF macro
  • utils/combine_primitive_lefs.py: merge many LEFs into one combined LEF
  • utils/gen_placement_gds.py: rebuild placed GDS from placement JSON
  • utils/gen_rt_hier_gds.py: combine route DEF, primitive GDS, and placement data into routed GDS
  • perform_power_grid_multi_level.py: generate the legacy PDN-enhanced GDS
  • perform_power_grid_with_pdn_routing.py: generate rails, decaps, local targets, augmented placement/LEF, and PDN constraints
  • perform_routing_with_pdn.py: orchestrate the signal, grid-generation, dedicated power-routing, and final-GDS sequence selected automatically by composer.sh
  • utils/gen_pdn_rt_gds.py: assemble routed power DEF geometry into a net-hierarchical final GDS

Why These Matter

These utilities make COmPOSER modular. You can use the hybrid optimizer only, placement only, routing only, or only the conversion and GDS-construction utilities in your own flow.