Implement the ivl_do_not_elide property

This commit is contained in:
Stephen Williams 2014-06-19 10:31:00 -07:00
parent 58ec35a6af
commit dff9953bc2
1 changed files with 6 additions and 0 deletions

View File

@ -144,6 +144,12 @@ void nodangle_f::signal(Design*, NetNet*sig)
&& (sig->scope()->attribute(perm_string::literal("ivl_synthesis_cell")) != verinum()))
return;
/* Don't delete signals that are marked with the
ivl_do_not_elide property. */
if (!sig->local_flag()
&& (sig->attribute(perm_string::literal("ivl_do_not_elide")) != verinum()))
return;
/* Check to see if the signal is completely unconnected. If
all the bits are unlinked, then delete it. */
if (! sig->is_linked()) {