opt-timing: Skip undriven nets
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
035b797ec2
commit
3c71911c26
@ -107,6 +107,8 @@ class TimingOptimiser
|
||||
max_net_delay.clear();
|
||||
for (auto net : sorted(ctx->nets)) {
|
||||
NetInfo *ni = net.second;
|
||||
if (ni->driver.cell == nullptr)
|
||||
continue;
|
||||
for (auto usr : ni->users) {
|
||||
max_net_delay[std::make_pair(usr.cell->name, usr.port)] = std::numeric_limits<delay_t>::max();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user