mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-27 08:28:45 +00:00
clean: keep $print cells, since they have unmodelled side effects.
This commit is contained in:
parent
d5c9953c09
commit
d51ecde8c2
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue