Commit 5d7c5685 by Alan Mishchenko

Changes to properly save current GIA after &miter -t and not erase the comb cex after &put.

parent ee9f66e2
...@@ -21950,7 +21950,7 @@ int Abc_CommandAbc9Put( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -21950,7 +21950,7 @@ int Abc_CommandAbc9Put( Abc_Frame_t * pAbc, int argc, char ** argv )
} }
// replace the current network // replace the current network
Abc_FrameReplaceCurrentNetwork( pAbc, pNtk ); Abc_FrameReplaceCurrentNetwork( pAbc, pNtk );
Abc_FrameClearVerifStatus( pAbc ); // Abc_FrameClearVerifStatus( pAbc );
return 0; return 0;
usage: usage:
...@@ -24016,8 +24016,13 @@ int Abc_CommandAbc9Miter( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -24016,8 +24016,13 @@ int Abc_CommandAbc9Miter( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print( -1, "Abc_CommandAbc9Miter(): The number of outputs should be even.\n" ); Abc_Print( -1, "Abc_CommandAbc9Miter(): The number of outputs should be even.\n" );
return 0; return 0;
} }
pAbc->pGia = Gia_ManTransformMiter( pAux = pAbc->pGia ); if ( pAbc->pGia == NULL )
Gia_ManStop( pAux ); {
Abc_Print( -1, "Abc_CommandAbc9Miter(): There is no AIG.\n" );
return 1;
}
pAux = Gia_ManTransformMiter( pAbc->pGia );
Abc_CommandUpdate9( pAbc, pAux );
Abc_Print( 1, "The miter (current AIG) is transformed by XORing POs pair-wise.\n" ); Abc_Print( 1, "The miter (current AIG) is transformed by XORing POs pair-wise.\n" );
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