mirror of https://github.com/YosysHQ/yosys.git
timinginfo: ignore $specify2 cells if EN is false
This commit is contained in:
parent
6c34945371
commit
7146c0339e
|
@ -82,6 +82,9 @@ struct TimingInfo
|
|||
|
||||
for (auto cell : module->cells()) {
|
||||
if (cell->type == ID($specify2)) {
|
||||
auto en = cell->getPort(ID::EN);
|
||||
if (en.is_fully_const() && !en.as_bool())
|
||||
continue;
|
||||
auto src = cell->getPort(ID::SRC);
|
||||
auto dst = cell->getPort(ID::DST);
|
||||
for (const auto &c : src.chunks())
|
||||
|
|
Loading…
Reference in New Issue