blob: 4d611ef4c4ef89c74d54c9f5fa1ad91f69cf3255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**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 $]
***********************************************************************/
#ifndef ABC__misc__util__util_hack_h
#define ABC__misc__util__util_hack_h
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "abc_global.h"
ABC_NAMESPACE_HEADER_START
#define NIL(type) ((type *) 0)
#define util_cpu_time Extra_CpuTime
#define getSoftDataLimit Extra_GetSoftDataLimit
#define MMoutOfMemory Extra_UtilMMoutOfMemory
extern clock_t Extra_CpuTime();
extern int Extra_GetSoftDataLimit();
extern void (*Extra_UtilMMoutOfMemory)( long size );
ABC_NAMESPACE_HEADER_END
#endif
|