mirror of https://github.com/YosysHQ/abc.git
Improvements to the NPN semi-canonical form computation package.
This commit is contained in:
parent
0a9236add5
commit
8c369788b3
|
|
@ -177,7 +177,7 @@ void Abc_TruthNpnPerform( Abc_TtStore_t * p, int NpnType, int fVerbose )
|
|||
char pCanonPerm[16];
|
||||
unsigned uCanonPhase=0;
|
||||
clock_t clk = clock();
|
||||
int i, maxCtr=0;
|
||||
int i;
|
||||
|
||||
char * pAlgoName = NULL;
|
||||
if ( NpnType == 0 )
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ int oneBitPosition(int x, int size)
|
|||
{
|
||||
int i;
|
||||
for(i=0;i<size;i++)
|
||||
if((x>>i)&1 == 1)
|
||||
if((x>>i)&1)
|
||||
return i;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue