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:
Stephen Williams 2014-04-20 08:58:38 -07:00
parent 8d9f3a0920
commit 5893d13ea3
1 changed files with 2 additions and 1 deletions

View File

@ -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());