mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
dft_tag: Implement $overwrite_tag
and $original_tag
This does not correctly handle an `$overwrite_tag` on a module output, but since we currently require the user to flatten the design for cross-module dft, this cannot be observed from within the design, only by manually inspecting the signals in the design.
This commit is contained in:
parent
78ff40d1b2
commit
62b4df4989
4 changed files with 124 additions and 24 deletions
|
@ -76,6 +76,9 @@ struct keep_cache_t
|
|||
if (cell->type.in(ID($assert), ID($assume), ID($live), ID($fair), ID($cover)))
|
||||
return true;
|
||||
|
||||
if (cell->type.in(ID($overwrite_tag)))
|
||||
return true;
|
||||
|
||||
if (!ignore_specify && cell->type.in(ID($specify2), ID($specify3), ID($specrule)))
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue