Commit 376bf3a7 by Alan Mishchenko

Bug fix: changing output number to 0 in the CEX after ORing POs.

parent 10ad8949
...@@ -5789,6 +5789,9 @@ int Abc_CommandOrPos( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -5789,6 +5789,9 @@ int Abc_CommandOrPos( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print( -1, "ORing the POs has failed.\n" ); Abc_Print( -1, "ORing the POs has failed.\n" );
return 1; return 1;
} }
// Bug fix: there is now only one PO. make sure the counterexample points to the right one
if ( pAbc->pCex )
pAbc->pCex->iPo = 0;
// replace the current network // replace the current network
// Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes ); // Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
return 0; return 0;
......
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