diff options
Diffstat (limited to 'src/base/abci/abcMini.c')
-rw-r--r-- | src/base/abci/abcMini.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/base/abci/abcMini.c b/src/base/abci/abcMini.c index dd80c64d..93932ceb 100644 --- a/src/base/abci/abcMini.c +++ b/src/base/abci/abcMini.c @@ -186,6 +186,16 @@ void Abc_NtkMiniAigTest( Abc_Ntk_t * pNtk ) Mini_AigStop( p ); Abc_NtkPrintStats( pNtkNew, 0, 0, 0, 0, 0, 0, 0 ); Abc_NtkDelete( pNtkNew ); + + // test dumping + p = Abc_NtkToMiniAig( pNtk ); + Mini_AigDump( p, "miniaig.data" ); + Mini_AigPrintStats( p ); + Mini_AigStop( p ); + + p = Mini_AigLoad( "miniaig.data" ); + Mini_AigPrintStats( p ); + Mini_AigStop( p ); } /* |