[placer1] Actually check for TMG_IGNORE!
This commit is contained in:
parent
200fb3f664
commit
78b684bcf8
@ -37,7 +37,7 @@ wirelen_t get_net_metric(const Context *ctx, const NetInfo *net, MetricType type
|
|||||||
if (driver_gb)
|
if (driver_gb)
|
||||||
return 0;
|
return 0;
|
||||||
IdString clock_port;
|
IdString clock_port;
|
||||||
bool driver_tmg_ignore = ctx->getPortTimingClass(driver_cell, net->driver.port, clock_port);
|
bool driver_tmg_ignore = ctx->getPortTimingClass(driver_cell, net->driver.port, clock_port) == TMG_IGNORE;
|
||||||
delay_t negative_slack = 0;
|
delay_t negative_slack = 0;
|
||||||
delay_t worst_slack = std::numeric_limits<delay_t>::max();
|
delay_t worst_slack = std::numeric_limits<delay_t>::max();
|
||||||
Loc driver_loc = ctx->getBelLocation(driver_cell->bel);
|
Loc driver_loc = ctx->getBelLocation(driver_cell->bel);
|
||||||
|
Loading…
Reference in New Issue
Block a user