2008-01-31 05:01:00 +01:00
|
|
|
/**CFile****************************************************************
|
|
|
|
|
|
|
|
|
|
FileName [util_hack.h]
|
|
|
|
|
|
|
|
|
|
SystemName [ABC: Logic synthesis and verification system.]
|
|
|
|
|
|
|
|
|
|
PackageName [This file is used to simulate the presence of "util.h".]
|
|
|
|
|
|
|
|
|
|
Synopsis [External declarations.]
|
|
|
|
|
|
|
|
|
|
Author [Alan Mishchenko]
|
|
|
|
|
|
|
|
|
|
Affiliation [UC Berkeley]
|
|
|
|
|
|
|
|
|
|
Date [Ver. 1.0. Started - June 20, 2005.]
|
|
|
|
|
|
|
|
|
|
Revision [$Id: util_hack.h,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
|
|
|
|
|
|
|
|
|
|
***********************************************************************/
|
|
|
|
|
|
2012-01-21 13:30:10 +01:00
|
|
|
#ifndef ABC__misc__util__util_hack_h
|
|
|
|
|
#define ABC__misc__util__util_hack_h
|
2008-01-31 05:01:00 +01:00
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
#include <math.h>
|
2010-11-01 09:35:04 +01:00
|
|
|
|
2009-02-15 17:01:00 +01:00
|
|
|
#include "abc_global.h"
|
|
|
|
|
|
2010-11-01 09:35:04 +01:00
|
|
|
ABC_NAMESPACE_HEADER_START
|
|
|
|
|
|
2011-02-14 00:16:10 +01:00
|
|
|
#define NIL(type) ((type *) 0)
|
2008-01-31 05:01:00 +01:00
|
|
|
|
2011-02-14 00:16:10 +01:00
|
|
|
#define util_cpu_time Extra_CpuTime
|
|
|
|
|
#define getSoftDataLimit Extra_GetSoftDataLimit
|
|
|
|
|
#define MMoutOfMemory Extra_UtilMMoutOfMemory
|
2010-11-01 09:35:04 +01:00
|
|
|
|
2011-02-14 00:16:10 +01:00
|
|
|
extern long Extra_CpuTime();
|
|
|
|
|
extern int Extra_GetSoftDataLimit();
|
|
|
|
|
extern void (*Extra_UtilMMoutOfMemory)( long size );
|
2010-11-01 09:35:04 +01:00
|
|
|
|
|
|
|
|
ABC_NAMESPACE_HEADER_END
|
|
|
|
|
|
2008-01-31 05:01:00 +01:00
|
|
|
#endif
|