Implement the ivl_do_not_elide property
This commit is contained in:
parent
58ec35a6af
commit
dff9953bc2
|
|
@ -144,6 +144,12 @@ void nodangle_f::signal(Design*, NetNet*sig)
|
||||||
&& (sig->scope()->attribute(perm_string::literal("ivl_synthesis_cell")) != verinum()))
|
&& (sig->scope()->attribute(perm_string::literal("ivl_synthesis_cell")) != verinum()))
|
||||||
return;
|
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
|
/* Check to see if the signal is completely unconnected. If
|
||||||
all the bits are unlinked, then delete it. */
|
all the bits are unlinked, then delete it. */
|
||||||
if (! sig->is_linked()) {
|
if (! sig->is_linked()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue