Three-pass optimization eliminates cable crossings: 1. Order boundary components by average header pin position 2. Regroup header pins by boundary component (reduces inter-cable crossings) 3. Reorder boundary component pins to parallel header (eliminates within-cable crossings) Safety hardening from Apollo review: - Duplicate header pin deduplication (prevents silent mapping corruption) - Connection structure validation at entry - Fan-out averaging for component pins connected to multiple header pins - Explicit ValueError on pin remapping failures with diagnostic context 145 tests passing (was 130). |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| test_cli.py | ||
| test_filter.py | ||
| test_inter_module.py | ||
| test_netlist_parser.py | ||
| test_roundtrip.py | ||
| test_single_module.py | ||
| test_yaml_emitter.py | ||