code wiki / _hdl_build / nx_pcb_autoroute.nx
nx_pcb_autoroute.nx
buildroot/runtime/_hdl_build/nx_pcb_autoroute.nx
about
nx_pcb_autoroute.nx -- LIB: sovereign PCB copper AUTOROUTER, built by REUSING the silicon place-and-route
router (nx_fpga_pnr / pnr_route_net_ex). ONE shared routing engine serves BOTH FPGA fabric routing AND PCB
trace routing -- the "shared resources" architecture, literally. Routes a netlist of 2-pad nets on a single
copper layer (a WxH grid); node-keepout blocking keeps different nets NODE-disjoint (no shorts / crossings =
the core DRC). Reports total copper length + a short count (0 = DRC-clean) + a routed flag. This closes the
omniforge ED "interactive autorouter" gap sovereignly (vs KiCad/Freerouting -- benchmark only). never-brick
#26: pure memory, bounded (BFS <= W*H per net), deterministic, zero hardware writes. license_tier: ORIGINAL
dependencies 2 imports · 5 importers
imports: nx_fpga_pnr.nxnx_syscalls.nx
imported by: nx_pcb_autoroute_gate.nxnx_pcb_drc_gate.nxnx_pcb_render_gate.nxnx_pcb_twin_gate.nxnx_schematic_gate.nx
structs
| none |
consts
| none |
functions
| 14 | func pa_route_board(nnets: i64, ax: *i64, ay: *i64, bx: *i64, by: *i64, |