ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
globals.c
Go to the documentation of this file.
1/*
2 * Revision Control Information
3 *
4 * $Source$
5 * $Author$
6 * $Revision$
7 * $Date$
8 *
9 */
10#include "espresso.h"
11
13
14
15/*
16 * Global Variable Declarations
17 */
18
19unsigned int debug; /* debug parameter */
20bool verbose_debug; /* -v: whether to print a lot */
21char *total_name[TIME_COUNT]; /* basic function names */
22long total_time[TIME_COUNT]; /* time spent in basic fcts */
23int total_calls[TIME_COUNT]; /* # calls to each fct */
24
25bool echo_comments; /* turned off by -eat option */
26bool echo_unknown_commands; /* always true ?? */
27bool force_irredundant; /* -nirr command line option */
29bool kiss; /* -kiss command line option */
30bool pos; /* -pos command line option */
31bool print_solution; /* -x command line option */
32bool recompute_onset; /* -onset command line option */
33bool remove_essential; /* -ness command line option */
34bool single_expand; /* -fast command line option */
35bool summary; /* -s command line option */
36bool trace; /* -t command line option */
37bool unwrap_onset; /* -nunwrap command line option */
38bool use_random_order; /* -random command line option */
39bool use_super_gasp; /* -strong command line option */
40char *filename; /* filename PLA was read from */
41
43 {"-f", F_type},
44 {"-r", R_type},
45 {"-d", D_type},
46 {"-fd", FD_type},
47 {"-fr", FR_type},
48 {"-dr", DR_type},
49 {"-fdr", FDR_type},
50 {"-fc", F_type | CONSTRAINTS_type},
51 {"-rc", R_type | CONSTRAINTS_type},
52 {"-dc", D_type | CONSTRAINTS_type},
53 {"-fdc", FD_type | CONSTRAINTS_type},
54 {"-frc", FR_type | CONSTRAINTS_type},
55 {"-drc", DR_type | CONSTRAINTS_type},
56 {"-fdrc", FDR_type | CONSTRAINTS_type},
57 {"-pleasure", PLEASURE_type},
58 {"-eqn", EQNTOTT_type},
59 {"-eqntott", EQNTOTT_type},
60 {"-kiss", KISS_type},
61 {"-cons", CONSTRAINTS_type},
62 {"-scons", SYMBOLIC_CONSTRAINTS_type},
63 {0, 0}
64};
65
66
69
70int bit_count[256] = {
71 0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,
72 1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
73 1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
74 2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
75 1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
76 2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
77 2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
78 3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8
79};
81
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
struct cube_struct cube temp_cube_save
Definition globals.c:67
#define EQNTOTT_type
Definition espresso.h:341
#define PLEASURE_type
Definition espresso.h:340
bool recompute_onset
Definition globals.c:32
bool echo_unknown_commands
Definition globals.c:26
#define FDR_type
Definition espresso.h:348
#define KISS_type
Definition espresso.h:342
#define F_type
Definition espresso.h:337
bool kiss
Definition globals.c:29
int total_calls[TIME_COUNT]
Definition globals.c:23
#define TIME_COUNT
Definition espresso.h:371
struct pla_types_struct pla_types[]
Definition globals.c:42
struct cdata_struct cdata temp_cdata_save
Definition globals.c:68
bool single_expand
Definition globals.c:34
bool trace
Definition globals.c:36
long total_time[TIME_COUNT]
Definition globals.c:22
#define SYMBOLIC_CONSTRAINTS_type
Definition espresso.h:344
bool print_solution
Definition globals.c:31
bool skip_make_sparse
Definition globals.c:28
#define CONSTRAINTS_type
Definition espresso.h:343
#define R_type
Definition espresso.h:339
bool summary
Definition globals.c:35
unsigned int debug
Definition globals.c:19
bool verbose_debug
Definition globals.c:20
bool remove_essential
Definition globals.c:33
#define D_type
Definition espresso.h:338
#define FD_type
Definition espresso.h:345
bool use_super_gasp
Definition globals.c:39
bool force_irredundant
Definition globals.c:27
bool use_random_order
Definition globals.c:38
bool pos
Definition globals.c:30
char * total_name[TIME_COUNT]
Definition globals.c:21
#define DR_type
Definition espresso.h:347
bool unwrap_onset
Definition globals.c:37
char * filename
Definition globals.c:40
bool echo_comments
Definition globals.c:25
#define FR_type
Definition espresso.h:346
Definition exor.h:123