mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-20 07:36:39 +00:00
sta: do not consider constant bits
This commit is contained in:
parent
c5e13f412a
commit
d58a648f45
|
@ -111,8 +111,11 @@ struct StaWorker
|
|||
if (it == t.arrival.end())
|
||||
continue;
|
||||
const auto &s = it->second.second;
|
||||
if (cell->hasPort(s.name))
|
||||
data[cell->getPort(s.name)[s.offset]].fanouts.emplace_back(bit,it->second.first,s.name);
|
||||
if (cell->hasPort(s.name)) {
|
||||
auto &s_bit = cell->getPort(s.name)[s.offset];
|
||||
if (s_bit.wire)
|
||||
data[s_bit].fanouts.emplace_back(bit,it->second.first,s.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue