diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-12-22 14:26:03 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-12-22 14:26:03 -0800 |
commit | 82a2495ce9faaa47e06d0daedeebc0ecd138ee2a (patch) | |
tree | 67ff999b553780ac203c26bdf31db02130707afa /src | |
parent | b3c9609e822afeb5758ca2c756e42810ed83d86a (diff) | |
download | abc-82a2495ce9faaa47e06d0daedeebc0ecd138ee2a.tar.gz abc-82a2495ce9faaa47e06d0daedeebc0ecd138ee2a.tar.bz2 abc-82a2495ce9faaa47e06d0daedeebc0ecd138ee2a.zip |
Improvements to hierarchical BLIF parser.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/io/ioReadBlifMv.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/base/io/ioReadBlifMv.c b/src/base/io/ioReadBlifMv.c index 10a18ac8..651856bd 100644 --- a/src/base/io/ioReadBlifMv.c +++ b/src/base/io/ioReadBlifMv.c @@ -738,9 +738,10 @@ static int Io_MvReadInterfaces( Io_MvMan_t * p ) return 0; // report the results #ifdef IO_VERBOSE_OUTPUT - printf( "Parsed %-32s: PI =%6d PO =%6d ND =%8d FF =%6d B =%6d\n", - pMod->pNtk->pName, Abc_NtkPiNum(pMod->pNtk), Abc_NtkPoNum(pMod->pNtk), - Vec_PtrSize(pMod->vNames), Vec_PtrSize(pMod->vLatches), Vec_PtrSize(pMod->vSubckts) ); + if ( Vec_PtrSize(p->vModels) > 1 ) + printf( "Parsed %-32s: PI =%6d PO =%6d ND =%8d FF =%6d B =%6d\n", + pMod->pNtk->pName, Abc_NtkPiNum(pMod->pNtk), Abc_NtkPoNum(pMod->pNtk), + Vec_PtrSize(pMod->vNames), Vec_PtrSize(pMod->vLatches), Vec_PtrSize(pMod->vSubckts) ); #endif } return 1; @@ -768,7 +769,8 @@ static Abc_Lib_t * Io_MvParse( Io_MvMan_t * p ) Vec_PtrForEachEntry( Io_MvMod_t *, p->vModels, pMod, i ) { #ifdef IO_VERBOSE_OUTPUT -printf( "Parsing model %s...\n", pMod->pNtk->pName ); + if ( Vec_PtrSize(p->vModels) > 1 ) + printf( "Parsing model %s...\n", pMod->pNtk->pName ); #endif // check if there any MV lines |