Commit 82a2495c by Alan Mishchenko

Improvements to hierarchical BLIF parser.

parent b3c9609e
...@@ -738,6 +738,7 @@ static int Io_MvReadInterfaces( Io_MvMan_t * p ) ...@@ -738,6 +738,7 @@ static int Io_MvReadInterfaces( Io_MvMan_t * p )
return 0; return 0;
// report the results // report the results
#ifdef IO_VERBOSE_OUTPUT #ifdef IO_VERBOSE_OUTPUT
if ( Vec_PtrSize(p->vModels) > 1 )
printf( "Parsed %-32s: PI =%6d PO =%6d ND =%8d FF =%6d B =%6d\n", 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), pMod->pNtk->pName, Abc_NtkPiNum(pMod->pNtk), Abc_NtkPoNum(pMod->pNtk),
Vec_PtrSize(pMod->vNames), Vec_PtrSize(pMod->vLatches), Vec_PtrSize(pMod->vSubckts) ); Vec_PtrSize(pMod->vNames), Vec_PtrSize(pMod->vLatches), Vec_PtrSize(pMod->vSubckts) );
...@@ -768,7 +769,8 @@ static Abc_Lib_t * Io_MvParse( Io_MvMan_t * p ) ...@@ -768,7 +769,8 @@ static Abc_Lib_t * Io_MvParse( Io_MvMan_t * p )
Vec_PtrForEachEntry( Io_MvMod_t *, p->vModels, pMod, i ) Vec_PtrForEachEntry( Io_MvMod_t *, p->vModels, pMod, i )
{ {
#ifdef IO_VERBOSE_OUTPUT #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 #endif
// check if there any MV lines // check if there any MV lines
......
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