summaryrefslogtreecommitdiffstats
path: root/src/map
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-07-09 22:57:03 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-07-09 22:57:03 -0700
commit908d5e696c7e73f80abcef85ec796511f3bffb0f (patch)
tree6fb41dd27d8ae48d93f71cda4ed56526092c5302 /src/map
parentd46c49088d7b9f1725d4d8624717f7209022c632 (diff)
downloadabc-908d5e696c7e73f80abcef85ec796511f3bffb0f.tar.gz
abc-908d5e696c7e73f80abcef85ec796511f3bffb0f.tar.bz2
abc-908d5e696c7e73f80abcef85ec796511f3bffb0f.zip
Replacing Mb/Gb to be MB/GB.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/amap/amapGraph.c2
-rw-r--r--src/map/amap/amapLiberty.c2
-rw-r--r--src/map/amap/amapMerge.c2
-rw-r--r--src/map/if/ifCore.c2
-rw-r--r--src/map/if/ifDec16.c2
-rw-r--r--src/map/if/ifMan.c2
-rw-r--r--src/map/super/superAnd.c2
-rw-r--r--src/map/super/superGate.c4
8 files changed, 9 insertions, 9 deletions
diff --git a/src/map/amap/amapGraph.c b/src/map/amap/amapGraph.c
index 36a3c851..2438425b 100644
--- a/src/map/amap/amapGraph.c
+++ b/src/map/amap/amapGraph.c
@@ -335,7 +335,7 @@ void Amap_ManCreate( Amap_Man_t * p, Aig_Man_t * pAig )
if ( p->pPars->fVerbose )
{
if ( 1.0 * Aig_ManObjNum(pAig) * sizeof(Amap_Obj_t) / (1<<30) > 0.1 )
- printf( "Warning: Mapper allocates %.3f Gb for subject graph with %d objects.\n",
+ printf( "Warning: Mapper allocates %.3f GB for subject graph with %d objects.\n",
1.0 * Aig_ManObjNum(pAig) * sizeof(Amap_Obj_t) / (1<<30), Aig_ManObjNum(pAig) );
}
// create PIs and remember them in the old nodes
diff --git a/src/map/amap/amapLiberty.c b/src/map/amap/amapLiberty.c
index c1798f09..34bd5303 100644
--- a/src/map/amap/amapLiberty.c
+++ b/src/map/amap/amapLiberty.c
@@ -913,7 +913,7 @@ int Amap_LibertyParse( char * pFileName, char * pFileGenlib, int fVerbose )
}
if ( fVerbose )
{
- printf( "Memory = %7.2f Mb. ", 1.0*(p->nContents+p->nItermAlloc*sizeof(Amap_Item_t))/(1<<20) );
+ printf( "Memory = %7.2f MB. ", 1.0*(p->nContents+p->nItermAlloc*sizeof(Amap_Item_t))/(1<<20) );
ABC_PRT( "Time", clock() - clk );
}
Amap_LibertyStop( p );
diff --git a/src/map/amap/amapMerge.c b/src/map/amap/amapMerge.c
index 85a1713c..b4aaca9d 100644
--- a/src/map/amap/amapMerge.c
+++ b/src/map/amap/amapMerge.c
@@ -522,7 +522,7 @@ void Amap_ManMerge( Amap_Man_t * p )
if ( p->pPars->fVerbose )
{
printf( "AIG object is %d bytes. ", (int)sizeof(Amap_Obj_t) );
- printf( "Internal AIG = %5.2f Mb. Cuts = %5.2f Mb.\n",
+ printf( "Internal AIG = %5.2f MB. Cuts = %5.2f MB.\n",
1.0*Amap_ManObjNum(p)*sizeof(Amap_Obj_t)/(1<<20), 1.0*p->nBytesUsed/(1<<20) );
printf( "Node =%6d. Try =%9d. Try3 =%10d. Used =%7d. R =%6.2f. ",
Amap_ManNodeNum(p), p->nCutsTried, p->nCutsTried3, p->nCutsUsed,
diff --git a/src/map/if/ifCore.c b/src/map/if/ifCore.c
index f42c29eb..afaccfe9 100644
--- a/src/map/if/ifCore.c
+++ b/src/map/if/ifCore.c
@@ -131,7 +131,7 @@ int If_ManPerformMappingComb( If_Man_t * p )
if ( p->pPars->fVerbose )
{
-// Abc_Print( 1, "Total memory = %7.2f Mb. Peak cut memory = %7.2f Mb. ",
+// Abc_Print( 1, "Total memory = %7.2f MB. Peak cut memory = %7.2f MB. ",
// 1.0 * (p->nObjBytes + 2*sizeof(void *)) * If_ManObjNum(p) / (1<<20),
// 1.0 * p->nSetBytes * Mem_FixedReadMaxEntriesUsed(p->pMemSet) / (1<<20) );
Abc_PrintTime( 1, "Total time", clock() - clkTotal );
diff --git a/src/map/if/ifDec16.c b/src/map/if/ifDec16.c
index 42383a0d..cc1a06f3 100644
--- a/src/map/if/ifDec16.c
+++ b/src/map/if/ifDec16.c
@@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START
#define CLU_VAR_MAX 16
#define CLU_WRD_MAX (1 << ((CLU_VAR_MAX)-6))
-#define CLU_MEM_MAX 1000 // 1 Gb
+#define CLU_MEM_MAX 1000 // 1 GB
#define CLU_UNUSED 0xff
// decomposition
diff --git a/src/map/if/ifMan.c b/src/map/if/ifMan.c
index 9b834906..3028e370 100644
--- a/src/map/if/ifMan.c
+++ b/src/map/if/ifMan.c
@@ -604,7 +604,7 @@ void If_ManSetupSetAll( If_Man_t * p, int nCrossCut )
if ( p->pPars->fVerbose )
{
- Abc_Print( 1, "Node = %7d. Ch = %5d. Total mem = %7.2f Mb. Peak cut mem = %7.2f Mb.\n",
+ Abc_Print( 1, "Node = %7d. Ch = %5d. Total mem = %7.2f MB. Peak cut mem = %7.2f MB.\n",
If_ManAndNum(p), p->nChoices,
1.0 * (p->nObjBytes + 2*sizeof(void *)) * If_ManObjNum(p) / (1<<20),
1.0 * p->nSetBytes * nCrossCut / (1<<20) );
diff --git a/src/map/super/superAnd.c b/src/map/super/superAnd.c
index b6a30025..9f3996b9 100644
--- a/src/map/super/superAnd.c
+++ b/src/map/super/superAnd.c
@@ -499,7 +499,7 @@ ABC_PRT( "Sorting", clock() - clk );
fclose( pFile );
printf( "The supergates are written into file \"%s\" ", FileName );
- printf( "(%0.2f Mb).\n", ((double)Extra_FileSize(FileName))/(1<<20) );
+ printf( "(%0.2f MB).\n", ((double)Extra_FileSize(FileName))/(1<<20) );
}
/**Function*************************************************************
diff --git a/src/map/super/superGate.c b/src/map/super/superGate.c
index 380065d3..53f3da35 100644
--- a/src/map/super/superGate.c
+++ b/src/map/super/superGate.c
@@ -1186,7 +1186,7 @@ void Super_WriteLibrary( Super_Man_t * pMan )
if ( pMan->fVerbose )
{
printf( "The supergates are written using old format \"%s\" ", FileName );
- printf( "(%0.3f Mb).\n", ((double)Extra_FileSize(FileName))/(1<<20) );
+ printf( "(%0.3f MB).\n", ((double)Extra_FileSize(FileName))/(1<<20) );
}
ABC_FREE( FileName );
@@ -1324,7 +1324,7 @@ void Super_WriteLibraryTree( Super_Man_t * pMan )
if ( pMan->fVerbose )
{
printf( "The supergates are written using new format \"%s\" ", FileName );
- printf( "(%0.3f Mb).\n", ((double)Extra_FileSize(FileName))/(1<<20) );
+ printf( "(%0.3f MB).\n", ((double)Extra_FileSize(FileName))/(1<<20) );
}
ABC_FREE( FileName );