Commit 8ba23981 by Alan Mishchenko

Undoing a previuos change to not reset the status after &put.

parent db3a0054
...@@ -22035,7 +22035,7 @@ int Abc_CommandAbc9Put( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -22035,7 +22035,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:
......
...@@ -159,7 +159,7 @@ Vec_Int_t * Amap_LibDeriveGatePerm_rec( Amap_Lib_t * pLib, Kit_DsdNtk_t * pNtk, ...@@ -159,7 +159,7 @@ Vec_Int_t * Amap_LibDeriveGatePerm_rec( Amap_Lib_t * pLib, Kit_DsdNtk_t * pNtk,
iDsdLit = 0; iDsdLit = 0;
Vec_IntForEachEntry( vNodFanin, iNodFanin, k ) Vec_IntForEachEntry( vNodFanin, iNodFanin, k )
{ {
if ( iNodFanin == 0 ) if ( iNodFanin == 0 && iDsdLit < Vec_IntSize(vDsdLits) )
{ {
iDsdFanin = Vec_IntEntry( vDsdLits, iDsdLit++ ); iDsdFanin = Vec_IntEntry( vDsdLits, iDsdLit++ );
Vec_IntPush( vPerm, iDsdFanin ); Vec_IntPush( vPerm, iDsdFanin );
...@@ -304,6 +304,8 @@ int Amap_LibDeriveGatePerm( Amap_Lib_t * pLib, Amap_Gat_t * pGate, Kit_DsdNtk_t ...@@ -304,6 +304,8 @@ int Amap_LibDeriveGatePerm( Amap_Lib_t * pLib, Amap_Gat_t * pGate, Kit_DsdNtk_t
int fVerbose = 0; int fVerbose = 0;
Vec_Int_t * vPerm; Vec_Int_t * vPerm;
int Entry, Entry2, i, k; int Entry, Entry2, i, k;
// Kit_DsdPrint( stdout, pNtk );
vPerm = Amap_LibDeriveGatePerm_rec( pLib, pNtk, Abc_LitRegular(pNtk->Root), pNod ); vPerm = Amap_LibDeriveGatePerm_rec( pLib, pNtk, Abc_LitRegular(pNtk->Root), pNod );
if ( vPerm == NULL ) if ( vPerm == NULL )
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