diff options
Diffstat (limited to 'src/aig/gia')
-rw-r--r-- | src/aig/gia/gia.h | 1 | ||||
-rw-r--r-- | src/aig/gia/giaAbsVta.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/aig/gia/gia.h b/src/aig/gia/gia.h index eec6dd22..1bb883fa 100644 --- a/src/aig/gia/gia.h +++ b/src/aig/gia/gia.h @@ -211,6 +211,7 @@ struct Gia_ParVta_t_ int fUseTermVars; // use terminal variables int fUseRollback; // use rollback to the starting number of frames int fDumpVabs; // dumps the abstracted model + char * pFileVabs; // dumps the abstracted model into this file int fVerbose; // verbose flag int iFrame; // the number of frames covered }; diff --git a/src/aig/gia/giaAbsVta.c b/src/aig/gia/giaAbsVta.c index 5aeca72e..6bc5bd4f 100644 --- a/src/aig/gia/giaAbsVta.c +++ b/src/aig/gia/giaAbsVta.c @@ -1441,9 +1441,10 @@ void Gia_VtaSendCancel( Vta_Man_t * p, int fVerbose ) ***********************************************************************/ void Gia_VtaDumpAbsracted( Vta_Man_t * p, int fVerbose ) { + char * pFileName = p->pPars->pFileVabs ? p->pPars->pFileVabs : "vabs.aig"; Gia_Man_t * pAbs; if ( fVerbose ) - Abc_Print( 1, "Dumping abstracted model into file \"vabs.aig\"...\n" ); + Abc_Print( 1, "Dumping abstracted model into file \"%s\"...\n", pFileName ); // if ( !Abc_FrameIsBridgeMode() ) // return; // create obj classes @@ -1457,7 +1458,7 @@ void Gia_VtaDumpAbsracted( Vta_Man_t * p, int fVerbose ) pAbs = Gia_ManDupAbsGates( p->pGia, p->pGia->vGateClasses ); Vec_IntFreeP( &p->pGia->vGateClasses ); // send it out - Gia_WriteAiger( pAbs, "vabs.aig", 0, 0 ); + Gia_WriteAiger( pAbs, pFileName, 0, 0 ); Gia_ManStop( pAbs ); } |