mirror of https://github.com/YosysHQ/abc.git
Bug fix.
This commit is contained in:
parent
f6653175b4
commit
debbf4d807
|
|
@ -87,7 +87,7 @@ void Abc_ObjAddFanin( Abc_Obj_t * pObj, Abc_Obj_t * pFanin )
|
||||||
assert( !Abc_ObjIsComplement(pObj) );
|
assert( !Abc_ObjIsComplement(pObj) );
|
||||||
assert( pObj->pNtk == pFaninR->pNtk );
|
assert( pObj->pNtk == pFaninR->pNtk );
|
||||||
assert( pObj->Id >= 0 && pFaninR->Id >= 0 );
|
assert( pObj->Id >= 0 && pFaninR->Id >= 0 );
|
||||||
assert( !Abc_ObjIsPi(pObj) && !Abc_ObjIsPo(pFanin) ); // fanin of PI or fanout of PO
|
assert( !Abc_ObjIsPi(pObj) && !Abc_ObjIsPo(pFaninR) ); // fanin of PI or fanout of PO
|
||||||
assert( !Abc_ObjIsCo(pObj) || !Abc_ObjFaninNum(pObj) ); // CO with two fanins
|
assert( !Abc_ObjIsCo(pObj) || !Abc_ObjFaninNum(pObj) ); // CO with two fanins
|
||||||
assert( !Abc_ObjIsNet(pObj) || !Abc_ObjFaninNum(pObj) ); // net with two fanins
|
assert( !Abc_ObjIsNet(pObj) || !Abc_ObjFaninNum(pObj) ); // net with two fanins
|
||||||
Vec_IntPushMem( pObj->pNtk->pMmStep, &pObj->vFanins, pFaninR->Id );
|
Vec_IntPushMem( pObj->pNtk->pMmStep, &pObj->vFanins, pFaninR->Id );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue