From 82a2495ce9faaa47e06d0daedeebc0ecd138ee2a Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 22 Dec 2011 14:26:03 -0800 Subject: Improvements to hierarchical BLIF parser. --- src/base/io/ioReadBlifMv.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/base/io/ioReadBlifMv.c') 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 -- cgit v1.2.3