mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
sta: do not consider constant bits
This commit is contained in:
parent
c5e13f412a
commit
d58a648f45
1 changed files with 5 additions and 2 deletions
|
@ -111,8 +111,11 @@ struct StaWorker
|
||||||
if (it == t.arrival.end())
|
if (it == t.arrival.end())
|
||||||
continue;
|
continue;
|
||||||
const auto &s = it->second.second;
|
const auto &s = it->second.second;
|
||||||
if (cell->hasPort(s.name))
|
if (cell->hasPort(s.name)) {
|
||||||
data[cell->getPort(s.name)[s.offset]].fanouts.emplace_back(bit,it->second.first,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…
Add table
Add a link
Reference in a new issue