Aig_Man_t * pMan = NULL;
Cnf_Dat_t * pCnf = NULL;
- assert( Abc_NtkIsStrash(currentAigNtk()) );
+ Assert( Abc_NtkIsStrash(currentAigNtk()) );
// convert to the AIG manager
pMan = Abc_NtkToDar(currentAigNtk(), 0, 0 );
Debug("strings-explain") << "Ask for explanation of " << a[i] << std::endl;
//assert
if(a[i].getKind() == kind::EQUAL) {
- //assert( hasTerm(a[i][0]) );
- //assert( hasTerm(a[i][1]) );
+ //Assert( hasTerm(a[i][0]) );
+ //Assert( hasTerm(a[i][1]) );
Assert( areEqual(a[i][0], a[i][1]) );
if( a[i][0]==a[i][1] ){
exp = false;
CheckArgument(b.tv_nsec >= 0 && b.tv_nsec < nsec_per_sec, b);
a.tv_sec += b.tv_sec;
long nsec = a.tv_nsec + b.tv_nsec;
- assert(nsec >= 0);
+ Assert(nsec >= 0);
if(nsec < 0) {
nsec += nsec_per_sec;
--a.tv_sec;
nsec -= nsec_per_sec;
++a.tv_sec;
}
- assert(nsec >= 0 && nsec < nsec_per_sec);
+ Assert(nsec >= 0 && nsec < nsec_per_sec);
a.tv_nsec = nsec;
return a;
}
nsec -= nsec_per_sec;
++a.tv_sec;
}
- assert(nsec >= 0 && nsec < nsec_per_sec);
+ Assert(nsec >= 0 && nsec < nsec_per_sec);
a.tv_nsec = nsec;
return a;
}
#include <stdint.h>
-#include <cassert>
#include <ctime>
#include <iomanip>
#include <map>