Correcting assert in converting standard cell mapping from GIA into ABC.

This commit is contained in:
Alan Mishchenko 2015-04-27 23:06:39 -07:00
parent b3e6cb30bb
commit a90700c753
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ Abc_Ntk_t * Abc_NtkFromCellMappedGia( Gia_Man_t * p )
}
else
{
assert( Gia_ObjCellId(p, iLit) > 0 );
assert( Gia_ObjCellId(p, iLit) >= 0 );
pObjNew = Abc_NtkCreateNode( pNtkNew );
Gia_CellForEachFanin( p, iLit, iFanLit, k )
Abc_ObjAddFanin( pObjNew, Abc_NtkFromCellRead(pNtkNew, vCopyLits, Abc_Lit2Var(iFanLit), Abc_LitIsCompl(iFanLit)) );