mirror of https://github.com/YosysHQ/yosys.git
clean: keep $print cells, since they have unmodelled side effects.
This commit is contained in:
parent
d5c9953c09
commit
d51ecde8c2
|
@ -79,6 +79,9 @@ struct keep_cache_t
|
||||||
if (!ignore_specify && cell->type.in(ID($specify2), ID($specify3), ID($specrule)))
|
if (!ignore_specify && cell->type.in(ID($specify2), ID($specify3), ID($specrule)))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (cell->type == ID($print))
|
||||||
|
return true;
|
||||||
|
|
||||||
if (cell->has_keep_attr())
|
if (cell->has_keep_attr())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue