Don't connect NetFF CE pin if it is not needed
When the clock enable is not generated, don't try to hook it up then detach it. That will make a mess that needs clean up. Instead, leave unused ce pins (Enable) unconnected.
This commit is contained in:
parent
8d9f3a0920
commit
5893d13ea3
|
|
@ -1009,6 +1009,7 @@ bool NetProcTop::synth_sync(Design*des)
|
||||||
connect(tmp->pin(0), ff2->pin_Data());
|
connect(tmp->pin(0), ff2->pin_Data());
|
||||||
|
|
||||||
connect(clock->pin(0), ff2->pin_Clock());
|
connect(clock->pin(0), ff2->pin_Clock());
|
||||||
|
if (ce->is_linked())
|
||||||
connect(ce->pin(0), ff2->pin_Enable());
|
connect(ce->pin(0), ff2->pin_Enable());
|
||||||
#if 0
|
#if 0
|
||||||
if (ff->pin_Aset().is_linked())
|
if (ff->pin_Aset().is_linked())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue