Commit 8452f5cf by Alan Mishchenko

Sequential word-level simulator for Wlc_Ntk_t (bug fix).

parent 0489deb6
...@@ -51,6 +51,8 @@ void Gia_ManDupRemapLiterals( Vec_Int_t * vLits, Gia_Man_t * p ) ...@@ -51,6 +51,8 @@ void Gia_ManDupRemapLiterals( Vec_Int_t * vLits, Gia_Man_t * p )
int i, iLit, iLitNew; int i, iLit, iLitNew;
Vec_IntForEachEntry( vLits, iLit, i ) Vec_IntForEachEntry( vLits, iLit, i )
{ {
if ( iLit < 0 )
continue;
pObj = Gia_ManObj( p, Abc_Lit2Var(iLit) ); pObj = Gia_ManObj( p, Abc_Lit2Var(iLit) );
if ( ~pObj->Value == 0 ) if ( ~pObj->Value == 0 )
iLitNew = -1; iLitNew = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment