YosysHQ / nextpnr

nextpnr portable FPGA place and route tool
ISC License
1.24k stars 237 forks source link

router2: Don't use estimates for constant nets #1237

Closed gatecat closed 7 months ago

gatecat commented 7 months ago

As constant nets could start from many possible locations (e.g. every interconnect tile), the backwards estimate to some arbitrary location is largely meaningless in this mode, so just set it to zero so it doesn't cause problems.

Fixes the router2 performance issue raised in #1235.