common: Add early return path to getNetinfoRouteDelay for fully unrouted nets
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
bd12c0a486
commit
f8a38c59f8
@ -221,6 +221,9 @@ delay_t Context::getNetinfoRouteDelay(const NetInfo *net_info, const PortRef &us
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
if (net_info->wires.empty())
|
||||
return predictDelay(net_info, user_info);
|
||||
|
||||
WireId src_wire = getNetinfoSourceWire(net_info);
|
||||
if (src_wire == WireId())
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user