forked from JackHack96/logic-synthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjedi_int.h
59 lines (53 loc) · 1.92 KB
/
jedi_int.h
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
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* Symbolic encoding program for compiling a symbolic
* description into a binary representation. Target
* is multi-level logic synthesis
*
* History:
*
* Bill Lin
* University of California, Berkeley
* Comments to [email protected]
*
* Copyright (c) 1989 Bill Lin, UC Berkeley CAD Group
* Permission is granted to do anything with this
* code except sell it or remove this message.
*/
/*
* constants
*/
#define INFINITY 100000 /* constant for infinity */
#define BUFSIZE 512 /* buffer size */
#define INPUT 0 /* input weighting */
#define OUTPUT 1 /* output weighting */
#define COUPLED 2 /* coupled weighting */
#define MAXSPACE 8 /* maximum Boolean dimensions */
#define RELEASE "official release 1.2"
#define DATE "June 5, 1991"
#define HEADER "JEDI, official release 1.2 (compiled: June 5, 1991)"
/*
* flags
*/
Boolean addDontCareFlag; /* fully specify the machine */
Boolean bitsFlag; /* specify a kiss-style input */
Boolean kissFlag; /* specify a kiss-style input */
Boolean verboseFlag; /* display verbose information */
Boolean sequentialFlag; /* run sequential encoding */
Boolean clusterFlag; /* run cluster encoding */
Boolean srandomFlag; /* run static random */
Boolean drandomFlag; /* run dynamic random */
Boolean variationFlag; /* variation of weight calculation */
Boolean oneplaneFlag; /* compute weights only on one plane */
Boolean hotFlag; /* one hot encoding */
Boolean expandFlag; /* code expansion flag */
Boolean plaFlag; /* output PLA format */
/*
* parameters
*/
double beginningStates; /* number of beginning states for SA */
double endingStates; /* number of ending states for SA */
double startingTemperature; /* starting temperature for SA */
double maximumTemperature; /* maximum temperature for SA */
int weightType; /* options for weighting type */
char *reset_state; /* reset state for state assignment */
int code_length; /* code length for state assignemnt */