Bug fix in WLN datastructure.

This commit is contained in:
Alan Mishchenko 2019-01-03 00:13:09 -02:00
parent f62eb635d1
commit 65e2add5f9
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ int Wln_ObjDup( Wln_Ntk_t * pNew, Wln_Ntk_t * p, int iObj )
if ( Wln_ObjIsConst(p, iObj) )
Wln_ObjSetConst( pNew, iObjNew, Wln_ObjFanin0(p, iObj) );
else if ( Wln_ObjIsSlice(p, iObj) || Wln_ObjIsRotate(p, iObj) || Wln_ObjIsTable(p, iObj) )
Wln_ObjSetFanin( p, iObjNew, 1, Wln_ObjFanin1(p, iObj) );
Wln_ObjSetFanin( pNew, iObjNew, 1, Wln_ObjFanin1(p, iObj) );
Wln_ObjSetCopy( p, iObj, iObjNew );
return iObjNew;
}