timing: Fix critical path walking for ECP5

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-11-18 21:34:32 +00:00
parent 36c0ff2dbc
commit f28186bb1b

View File

@ -434,8 +434,7 @@ struct Timing
int port_clocks; int port_clocks;
TimingPortClass portClass = TimingPortClass portClass =
ctx->getPortTimingClass(crit_net->driver.cell, port.first, port_clocks); ctx->getPortTimingClass(crit_net->driver.cell, port.first, port_clocks);
if (portClass == TMG_CLOCK_INPUT || portClass == TMG_ENDPOINT || portClass == TMG_IGNORE || if (portClass == TMG_CLOCK_INPUT || portClass == TMG_ENDPOINT || portClass == TMG_IGNORE)
portClass == TMG_REGISTER_INPUT)
continue; continue;
// And find the fanin net with the latest arrival time // And find the fanin net with the latest arrival time
if (net_data.count(port.second.net) && if (net_data.count(port.second.net) &&