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,7 +1009,8 @@ bool NetProcTop::synth_sync(Design*des)
|
|||
connect(tmp->pin(0), ff2->pin_Data());
|
||||
|
||||
connect(clock->pin(0), ff2->pin_Clock());
|
||||
connect(ce->pin(0), ff2->pin_Enable());
|
||||
if (ce->is_linked())
|
||||
connect(ce->pin(0), ff2->pin_Enable());
|
||||
#if 0
|
||||
if (ff->pin_Aset().is_linked())
|
||||
connect(ff->pin_Aset(), ff2->pin_Aset());
|
||||
|
|
|
|||
Loading…
Reference in New Issue