summaryrefslogtreecommitdiffstats
path: root/src/map/amap/amapParse.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-08-27 14:29:32 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-08-27 14:29:32 -0700
commitda6838463fedf0821f542dcc3a4451bfe1ca3abd (patch)
treec05d193c0ba8b43ec590654b72c67fbd9adbde2a /src/map/amap/amapParse.c
parent9abe8b66c9f828501fc61564e91968d96c4e7507 (diff)
downloadabc-da6838463fedf0821f542dcc3a4451bfe1ca3abd.tar.gz
abc-da6838463fedf0821f542dcc3a4451bfe1ca3abd.tar.bz2
abc-da6838463fedf0821f542dcc3a4451bfe1ca3abd.zip
Added features 'map -M <float>' to control the use of large gates.
Diffstat (limited to 'src/map/amap/amapParse.c')
-rw-r--r--src/map/amap/amapParse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/amap/amapParse.c b/src/map/amap/amapParse.c
index d81411bc..f2a38db6 100644
--- a/src/map/amap/amapParse.c
+++ b/src/map/amap/amapParse.c
@@ -434,7 +434,8 @@ int Amap_LibParseEquations( Amap_Lib_t * p, int fVerbose )
pTruth = Hop_ManConvertAigToTruth( pMan, pObj, pGate->nPins, vTruth, 0 );
if ( Kit_TruthSupportSize(pTruth, pGate->nPins) < (int)pGate->nPins )
{
- printf( "Skipping gate \"%s\" because its output \"%s\" does not depend on all input variables.\n", pGate->pName, pGate->pForm );
+ if ( fVerbose )
+ printf( "Skipping gate \"%s\" because its output \"%s\" does not depend on all input variables.\n", pGate->pName, pGate->pForm );
continue;
}
pGate->pFunc = (unsigned *)Aig_MmFlexEntryFetch( p->pMemGates, sizeof(unsigned)*Abc_TruthWordNum(pGate->nPins) );
@@ -459,7 +460,7 @@ int Amap_LibParseEquations( Amap_Lib_t * p, int fVerbose )
***********************************************************************/
void Amap_LibParseTest( char * pFileName )
{
- int fVerbose = 1;
+ int fVerbose = 0;
Amap_Lib_t * p;
clock_t clk = clock();
p = Amap_LibReadFile( pFileName, fVerbose );