Check if output exists
This commit is contained in:
parent
c335bad6e9
commit
c1aa0bde87
@ -434,6 +434,7 @@ void NgUltraPacker::pack_dff_chains(void)
|
|||||||
CellInfo* start_dff = &ci;
|
CellInfo* start_dff = &ci;
|
||||||
while(1) {
|
while(1) {
|
||||||
NetInfo *o = dff->getPort(id_O);
|
NetInfo *o = dff->getPort(id_O);
|
||||||
|
if (!o) break;
|
||||||
if (o->users.entries() != 1) break;
|
if (o->users.entries() != 1) break;
|
||||||
dff = (*o->users.begin()).cell;
|
dff = (*o->users.begin()).cell;
|
||||||
if (dff->type == id_NX_DFF && (*o->users.begin()).port == id_I) {
|
if (dff->type == id_NX_DFF && (*o->users.begin()).port == id_I) {
|
||||||
|
Loading…
Reference in New Issue
Block a user