mirror of https://github.com/YosysHQ/abc.git
Another attempt to make CUDD platform- and runtime-independent.
This commit is contained in:
parent
780321cf54
commit
68baf03809
|
|
@ -259,7 +259,7 @@ cuddBddAndAbstractRecur(
|
|||
}
|
||||
}
|
||||
|
||||
if ( manager->TimeStop && manager->TimeStop < clock() )
|
||||
if ( manager->TimeStop && manager->TimeStop < time(NULL) )
|
||||
return NULL;
|
||||
|
||||
if (topf == top) {
|
||||
|
|
|
|||
|
|
@ -926,7 +926,7 @@ cuddBddAndRecur(
|
|||
if (r != NULL) return(r);
|
||||
}
|
||||
|
||||
if ( manager->TimeStop && manager->TimeStop < clock() )
|
||||
if ( manager->TimeStop && manager->TimeStop < time(NULL) )
|
||||
return NULL;
|
||||
|
||||
/* Here we can skip the use of cuddI, because the operands are known
|
||||
|
|
|
|||
|
|
@ -976,9 +976,9 @@ cuddBddTransferRecur(
|
|||
if (st_lookup(table, (const char *)f, (char **)&res))
|
||||
return(Cudd_NotCond(res,comple));
|
||||
|
||||
if ( ddS->TimeStop && ddS->TimeStop < clock() )
|
||||
if ( ddS->TimeStop && ddS->TimeStop < time(NULL) )
|
||||
return NULL;
|
||||
if ( ddD->TimeStop && ddD->TimeStop < clock() )
|
||||
if ( ddD->TimeStop && ddD->TimeStop < time(NULL) )
|
||||
return NULL;
|
||||
|
||||
/* Recursive step. */
|
||||
|
|
|
|||
|
|
@ -1251,7 +1251,7 @@ cuddBddVarMapRecur(
|
|||
return(Cudd_NotCond(res,F != f));
|
||||
}
|
||||
|
||||
if ( manager->TimeStop && manager->TimeStop < clock() )
|
||||
if ( manager->TimeStop && manager->TimeStop < time(NULL) )
|
||||
return NULL;
|
||||
|
||||
/* Split and recur on children of this node. */
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ cuddSymmSifting(
|
|||
if (ddTotalNumberSwapping >= table->siftMaxSwap)
|
||||
break;
|
||||
// enable timeout during variable reodering - alanmi 2/13/11
|
||||
if ( table->TimeStop && table->TimeStop < clock() )
|
||||
if ( table->TimeStop && table->TimeStop < time(NULL) )
|
||||
break;
|
||||
x = table->perm[var[i]];
|
||||
#ifdef DD_STATS
|
||||
|
|
|
|||
Loading…
Reference in New Issue