mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-03 16:29:14 +02:00
Version abc80305
This commit is contained in:
@@ -81,6 +81,7 @@ struct If_Par_t_
|
||||
int nFlowIters; // the number of iterations of area recovery
|
||||
int nAreaIters; // the number of iterations of area recovery
|
||||
float DelayTarget; // delay target
|
||||
float Epsilon; // value used in comparison floating point numbers
|
||||
int fPreprocess; // preprossing
|
||||
int fArea; // area-oriented mapping
|
||||
int fFancy; // a fancy feature
|
||||
|
||||
+2
-2
@@ -51,7 +51,7 @@ If_Man_t * If_ManStart( If_Par_t * pPars )
|
||||
p = ALLOC( If_Man_t, 1 );
|
||||
memset( p, 0, sizeof(If_Man_t) );
|
||||
p->pPars = pPars;
|
||||
p->fEpsilon = (float)0.001;
|
||||
p->fEpsilon = pPars->Epsilon;
|
||||
// allocate arrays for nodes
|
||||
p->vCis = Vec_PtrAlloc( 100 );
|
||||
p->vCos = Vec_PtrAlloc( 100 );
|
||||
@@ -77,7 +77,7 @@ If_Man_t * If_ManStart( If_Par_t * pPars )
|
||||
p->puTemp[3] = p->puTemp[2] + p->nTruthWords;
|
||||
// create the constant node
|
||||
p->pConst1 = If_ManSetupObj( p );
|
||||
p->pConst1->Type = IF_CONST1;
|
||||
p->pConst1->Type = IF_CONST1;
|
||||
p->pConst1->fPhase = 1;
|
||||
p->nObjs[IF_CONST1]++;
|
||||
return p;
|
||||
|
||||
Reference in New Issue
Block a user