abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mainInt.h File Reference
#include "main.h"
#include "misc/tim/tim.h"
#include "map/if/if.h"
#include "aig/aig/aig.h"
#include "aig/gia/gia.h"
#include "proof/ssw/ssw.h"
#include "proof/fra/fra.h"
#include "misc/extra/extraBdd.h"

Go to the source code of this file.

Data Structures

struct  Abc_Frame_t_
 STRUCTURE DEFINITIONS ///. More...
 
struct  Abc_FrameInitializer_t_
 

Macros

#define ABC_VERSION   "UC Berkeley, ABC 1.01"
 INCLUDES ///. More...
 
#define ABC_MAX_STR   (1<<15)
 

Typedefs

typedef void(* Abc_Frame_Initialization_Func )(Abc_Frame_t *pAbc)
 
typedef struct
Abc_FrameInitializer_t_ 
Abc_FrameInitializer_t
 

Functions

ABC_DLL int main (int argc, char *argv[])
 GLOBAL VARIABLES ///. More...
 
ABC_DLL void Abc_FrameInit (Abc_Frame_t *pAbc)
 FUNCTION DEFINITIONS ///. More...
 
ABC_DLL void Abc_FrameEnd (Abc_Frame_t *pAbc)
 
ABC_DLL void Abc_FrameAddInitializer (Abc_FrameInitializer_t *p)
 
ABC_DLL Abc_Frame_tAbc_FrameAllocate ()
 
ABC_DLL void Abc_FrameDeallocate (Abc_Frame_t *p)
 
ABC_DLL char * Abc_UtilsGetVersion (Abc_Frame_t *pAbc)
 FUNCTION DEFINITIONS ///. More...
 
ABC_DLL char * Abc_UtilsGetUsersInput (Abc_Frame_t *pAbc)
 
ABC_DLL void Abc_UtilsPrintHello (Abc_Frame_t *pAbc)
 
ABC_DLL void Abc_UtilsPrintUsage (Abc_Frame_t *pAbc, char *ProgName)
 
ABC_DLL void Abc_UtilsSource (Abc_Frame_t *pAbc)
 

Macro Definition Documentation

#define ABC_MAX_STR   (1<<15)

Definition at line 50 of file mainInt.h.

#define ABC_VERSION   "UC Berkeley, ABC 1.01"

INCLUDES ///.

CFile****************************************************************

FileName [mainInt.h]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [The main package.]

Synopsis [Internal declarations of the main package.]

Author [Alan Mishchenko]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - June 20, 2005.]

Revision [

Id:
mainInt.h,v 1.1 2008/05/14 22:13:13 wudenni Exp

]PARAMETERS ///

Definition at line 47 of file mainInt.h.

Typedef Documentation

typedef void(* Abc_Frame_Initialization_Func)(Abc_Frame_t *pAbc)

Definition at line 133 of file mainInt.h.

Definition at line 136 of file mainInt.h.

Function Documentation

ABC_DLL void Abc_FrameAddInitializer ( Abc_FrameInitializer_t p)

Definition at line 64 of file mainInit.c.

65 {
66  if( ! s_InitializerStart )
68 
69  p->next = NULL;
71 
72  if ( s_InitializerEnd )
74 
76 
77 }
static Llb_Mgr_t * p
Definition: llb3Image.c:950
Abc_FrameInitializer_t * next
Definition: mainInt.h:143
Abc_FrameInitializer_t * prev
Definition: mainInt.h:144
static Abc_FrameInitializer_t * s_InitializerEnd
Definition: mainInit.c:62
static Abc_FrameInitializer_t * s_InitializerStart
Definition: mainInit.c:61
ABC_DLL Abc_Frame_t* Abc_FrameAllocate ( )

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 137 of file mainFrame.c.

138 {
139  Abc_Frame_t * p;
140  extern void define_cube_size( int n );
141  extern void set_espresso_flags();
142  // allocate and clean
143  p = ABC_CALLOC( Abc_Frame_t, 1 );
144  // get version
145  p->sVersion = Abc_UtilsGetVersion( p );
146  // set streams
147  p->Err = stderr;
148  p->Out = stdout;
149  p->Hst = NULL;
150  p->Status = -1;
151  p->nFrames = -1;
152  // set the starting step
153  p->nSteps = 1;
154  p->fBatchMode = 0;
155  // networks to be used by choice
156  p->vStore = Vec_PtrAlloc( 16 );
157  p->vAbcObjIds = Vec_IntAlloc( 0 );
158  // initialize decomposition manager
159 // define_cube_size(20);
160 // set_espresso_flags();
161  // initialize the trace manager
162 // Abc_HManStart();
163  p->vPlugInComBinPairs = Vec_PtrAlloc( 100 );
164  return p;
165 }
static Llb_Mgr_t * p
Definition: llb3Image.c:950
typedefABC_NAMESPACE_HEADER_START struct Abc_Frame_t_ Abc_Frame_t
INCLUDES ///.
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
Definition: bblif.c:149
void define_cube_size(int n)
Definition: cubehack.c:51
ABC_DLL char * Abc_UtilsGetVersion(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: mainUtils.c:52
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
Definition: vecPtr.h:83
void set_espresso_flags()
Definition: cubehack.c:129
#define ABC_CALLOC(type, num)
Definition: abc_global.h:230
ABC_DLL void Abc_FrameDeallocate ( Abc_Frame_t p)

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 179 of file mainFrame.c.

180 {
181  extern void Rwt_ManGlobalStop();
182  extern void undefine_cube_size();
183 // extern void Ivy_TruthManStop();
184 // Abc_HManStop();
185 // undefine_cube_size();
187 // Ivy_TruthManStop();
188  if ( p->vAbcObjIds) Vec_IntFree( p->vAbcObjIds );
189  if ( p->vCexVec ) Vec_PtrFreeFree( p->vCexVec );
190  if ( p->vPoEquivs ) Vec_VecFree( (Vec_Vec_t *)p->vPoEquivs );
191  if ( p->vStatuses ) Vec_IntFree( p->vStatuses );
192  if ( p->pManDec ) Dec_ManStop( (Dec_Man_t *)p->pManDec );
193  if ( p->dd ) Extra_StopManager( p->dd );
194  if ( p->vStore ) Vec_PtrFree( p->vStore );
195  if ( p->pSave1 ) Aig_ManStop( (Aig_Man_t *)p->pSave1 );
196  if ( p->pSave2 ) Aig_ManStop( (Aig_Man_t *)p->pSave2 );
197  if ( p->pSave3 ) Aig_ManStop( (Aig_Man_t *)p->pSave3 );
198  if ( p->pSave4 ) Aig_ManStop( (Aig_Man_t *)p->pSave4 );
199  if ( p->pManDsd ) If_DsdManFree( (If_DsdMan_t *)p->pManDsd, 0 );
200  if ( p->pManDsd2 ) If_DsdManFree( (If_DsdMan_t *)p->pManDsd2, 0 );
201  if ( p->pNtkBackup) Abc_NtkDelete( p->pNtkBackup );
202  if ( p->vPlugInComBinPairs )
203  {
204  char * pTemp;
205  int i;
206  Vec_PtrForEachEntry( char *, p->vPlugInComBinPairs, pTemp, i )
207  ABC_FREE( pTemp );
208  Vec_PtrFree( p->vPlugInComBinPairs );
209  }
210  Vec_IntFreeP( &p->vIndFlops );
211  Vec_PtrFreeP( &p->vLTLProperties_global );
213  ABC_FREE( p->pDrivingCell );
214  ABC_FREE( p->pCex2 );
215  ABC_FREE( p->pCex );
216  ABC_FREE( p );
217  s_GlobalFrame = NULL;
218 }
static ABC_NAMESPACE_IMPL_START Abc_Frame_t * s_GlobalFrame
DECLARATIONS ///.
Definition: mainFrame.c:35
DdManager * dd
Definition: llb3Image.c:52
typedefABC_NAMESPACE_HEADER_START struct Vec_Vec_t_ Vec_Vec_t
INCLUDES ///.
Definition: vecVec.h:42
void Abc_FrameDeleteAllNetworks(Abc_Frame_t *p)
Definition: mainFrame.c:551
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Definition: aig.h:50
static Llb_Mgr_t * p
Definition: llb3Image.c:950
void Aig_ManStop(Aig_Man_t *p)
Definition: aigMan.c:187
void If_DsdManFree(If_DsdMan_t *p, int fVerbose)
Definition: ifDsd.c:316
static void Vec_PtrFreeFree(Vec_Ptr_t *p)
Definition: vecPtr.h:569
void Extra_StopManager(DdManager *dd)
Definition: extraBddMisc.c:223
static void Vec_VecFree(Vec_Vec_t *p)
Definition: vecVec.h:347
ABC_DLL void Abc_NtkDelete(Abc_Ntk_t *pNtk)
Definition: abcNtk.c:1233
void Rwt_ManGlobalStop()
Definition: rwtMan.c:68
static void Vec_IntFreeP(Vec_Int_t **p)
Definition: vecInt.h:289
#define ABC_FREE(obj)
Definition: abc_global.h:232
static void Vec_PtrFreeP(Vec_Ptr_t **p)
Definition: vecPtr.h:240
Definition: dec.h:80
static void Vec_IntFree(Vec_Int_t *p)
Definition: bblif.c:235
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
Definition: vecPtr.h:55
void Dec_ManStop(Dec_Man_t *p)
Definition: decMan.c:70
void undefine_cube_size()
Definition: cubehack.c:111
static void Vec_PtrFree(Vec_Ptr_t *p)
Definition: vecPtr.h:223
ABC_DLL void Abc_FrameEnd ( Abc_Frame_t pAbc)

Function*************************************************************

Synopsis [Stops all the packages.]

Description []

SideEffects []

SeeAlso []

Definition at line 128 of file mainInit.c.

129 {
131  for( p = s_InitializerEnd ; p ; p = p->prev )
132  if ( p->destroy )
133  p->destroy(pAbc);
134  Abc_End( pAbc );
135  Io_End( pAbc );
136  Cmd_End( pAbc );
137  If_End( pAbc );
138  Map_End( pAbc );
139  Mio_End( pAbc );
140  Super_End( pAbc );
141  Libs_End( pAbc );
142  Load_End( pAbc );
143  Scl_End( pAbc );
144  Wlc_End( pAbc );
145  Cba_End( pAbc );
146  Test_End( pAbc );
147 }
void Mio_End(Abc_Frame_t *pAbc)
Definition: mio.c:107
Abc_Frame_Initialization_Func destroy
Definition: mainInt.h:141
void Load_End(Abc_Frame_t *pAbc)
Definition: cmdLoad.c:217
static Llb_Mgr_t * p
Definition: llb3Image.c:950
void Cmd_End(Abc_Frame_t *pAbc)
Definition: cmd.c:127
void Test_End(Abc_Frame_t *pAbc)
Definition: test.c:60
void Io_End(Abc_Frame_t *pAbc)
Definition: io.c:153
void Libs_End(Abc_Frame_t *pAbc)
Definition: libSupport.c:199
void If_End(Abc_Frame_t *pAbc)
Definition: ifCom.c:75
Abc_FrameInitializer_t * prev
Definition: mainInt.h:144
static Abc_FrameInitializer_t * s_InitializerEnd
Definition: mainInit.c:62
void Super_End(Abc_Frame_t *pAbc)
Definition: super.c:65
void Map_End(Abc_Frame_t *pAbc)
Definition: mapper.c:64
void Scl_End(Abc_Frame_t *pAbc)
Definition: scl.c:115
void Abc_End(Abc_Frame_t *pAbc)
Definition: abc.c:1108
void Wlc_End(Abc_Frame_t *pAbc)
Definition: wlcCom.c:76
void Cba_End(Abc_Frame_t *pAbc)
Definition: cbaCom.c:75
ABC_DLL void Abc_FrameInit ( Abc_Frame_t pAbc)

FUNCTION DEFINITIONS ///.

Function*************************************************************

Synopsis [Starts all the packages.]

Description []

SideEffects []

SeeAlso []

Definition at line 94 of file mainInit.c.

95 {
97  Cmd_Init( pAbc );
98  Cmd_CommandExecute( pAbc, "set checkread" );
99  Io_Init( pAbc );
100  Abc_Init( pAbc );
101  If_Init( pAbc );
102  Map_Init( pAbc );
103  Mio_Init( pAbc );
104  Super_Init( pAbc );
105  Libs_Init( pAbc );
106  Load_Init( pAbc );
107  Scl_Init( pAbc );
108  Wlc_Init( pAbc );
109  Cba_Init( pAbc );
110  Test_Init( pAbc );
111  for( p = s_InitializerStart ; p ; p = p->next )
112  if(p->init)
113  p->init(pAbc);
114 }
void Wlc_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: wlcCom.c:56
void Scl_Init(Abc_Frame_t *pAbc)
Definition: scl.c:91
void Load_Init(Abc_Frame_t *pAbc)
Definition: cmdLoad.c:182
static Llb_Mgr_t * p
Definition: llb3Image.c:950
int Cmd_CommandExecute(void *pAbc, char *pCommandLine)
void If_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: ifCom.c:51
void Map_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: mapper.c:48
void Cmd_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: cmd.c:79
Abc_FrameInitializer_t * next
Definition: mainInt.h:143
void Libs_Init(Abc_Frame_t *pAbc)
Definition: libSupport.c:193
void Mio_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: mio.c:83
void Io_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: io.c:95
void Super_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: super.c:48
void Cba_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Definition: cbaCom.c:55
Abc_Frame_Initialization_Func init
Definition: mainInt.h:140
ABC_NAMESPACE_IMPL_START void Abc_Init(Abc_Frame_t *pAbc)
DECLARATIONS ///.
Definition: abc.c:679
static Abc_FrameInitializer_t * s_InitializerStart
Definition: mainInit.c:61
void Test_Init(Abc_Frame_t *pAbc)
DECLARATIONS ///.
Definition: test.c:45
ABC_DLL char* Abc_UtilsGetUsersInput ( Abc_Frame_t pAbc)

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 70 of file mainUtils.c.

71 {
72  static char Prompt[5000];
73  sprintf( Prompt, "abc %02d> ", pAbc->nSteps );
74 #ifdef ABC_USE_READLINE
75  {
76  static char * line = NULL;
77  if (line != NULL) ABC_FREE(line);
78  line = readline(Prompt);
79  if (line == NULL){ printf("***EOF***\n"); exit(0); }
80  add_history(line);
81  return line;
82  }
83 #else
84  {
85  char * pRetValue;
86  fprintf( pAbc->Out, "%s", Prompt );
87  pRetValue = fgets( Prompt, 5000, stdin );
88  return Prompt;
89  }
90 #endif
91 }
VOID_HACK exit()
char * sprintf()
#define ABC_FREE(obj)
Definition: abc_global.h:232
ABC_DLL char* Abc_UtilsGetVersion ( Abc_Frame_t pAbc)

FUNCTION DEFINITIONS ///.

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 52 of file mainUtils.c.

53 {
54  static char Version[1000];
55  sprintf(Version, "%s (compiled %s %s)", ABC_VERSION, __DATE__, __TIME__);
56  return Version;
57 }
char * sprintf()
#define ABC_VERSION
INCLUDES ///.
Definition: mainInt.h:47
ABC_DLL void Abc_UtilsPrintHello ( Abc_Frame_t pAbc)

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 104 of file mainUtils.c.

105 {
106  fprintf( pAbc->Out, "%s\n", pAbc->sVersion );
107 }
ABC_DLL void Abc_UtilsPrintUsage ( Abc_Frame_t pAbc,
char *  ProgName 
)

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 120 of file mainUtils.c.

121 {
122  fprintf( pAbc->Err, "\n" );
123  fprintf( pAbc->Err,
124  "usage: %s [-c cmd] [-f script] [-h] [-o file] [-s] [-t type] [-T type] [-x] [-b] [file]\n",
125  ProgName);
126  fprintf( pAbc->Err, " -c cmd\texecute commands `cmd'\n");
127  fprintf( pAbc->Err, " -q cmd\texecute commands `cmd' quietly\n");
128  fprintf( pAbc->Err, " -C cmd\texecute commands `cmd', then continue in interactive mode\n");
129  fprintf( pAbc->Err, " -F script\texecute commands from a script file and echo commands\n");
130  fprintf( pAbc->Err, " -f script\texecute commands from a script file\n");
131  fprintf( pAbc->Err, " -h\t\tprint the command usage\n");
132  fprintf( pAbc->Err, " -o file\tspecify output filename to store the result\n");
133  fprintf( pAbc->Err, " -s\t\tdo not read any initialization file\n");
134  fprintf( pAbc->Err, " -t type\tspecify input type (blif_mv (default), blif_mvs, blif, or none)\n");
135  fprintf( pAbc->Err, " -T type\tspecify output type (blif_mv (default), blif_mvs, blif, or none)\n");
136  fprintf( pAbc->Err, " -x\t\tequivalent to '-t none -T none'\n");
137  fprintf( pAbc->Err, " -b\t\trunning in bridge mode\n");
138  fprintf( pAbc->Err, "\n" );
139 }
ABC_DLL void Abc_UtilsSource ( Abc_Frame_t pAbc)

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 152 of file mainUtils.c.

153 {
154 #ifdef WIN32
155  if ( Cmd_CommandExecute(pAbc, "source abc.rc") )
156  {
157  if ( Cmd_CommandExecute(pAbc, "source ..\\abc.rc") == 0 )
158  printf( "Loaded \"abc.rc\" from the parent directory.\n" );
159  else if ( Cmd_CommandExecute(pAbc, "source ..\\..\\abc.rc") == 0 )
160  printf( "Loaded \"abc.rc\" from the grandparent directory.\n" );
161  }
162 #else
163 
164 #if 0
165  {
166  char * sPath1, * sPath2;
167 
168  // If .rc is present in both the home and current directories, then read
169  // it from the home directory. Otherwise, read it from wherever it's located.
170  sPath1 = Extra_UtilFileSearch(".rc", "~/", "r");
171  sPath2 = Extra_UtilFileSearch(".rc", ".", "r");
172 
173  if ( sPath1 && sPath2 ) {
174  /* ~/.rc == .rc : Source the file only once */
175  (void) Cmd_CommandExecute(pAbc, "source -s ~/.rc");
176  }
177  else {
178  if (sPath1) {
179  (void) Cmd_CommandExecute(pAbc, "source -s ~/.rc");
180  }
181  if (sPath2) {
182  (void) Cmd_CommandExecute(pAbc, "source -s .rc");
183  }
184  }
185  if ( sPath1 ) ABC_FREE(sPath1);
186  if ( sPath2 ) ABC_FREE(sPath2);
187 
188  /* execute the abc script which can be open with the "open_path" */
189  Cmd_CommandExecute( pAbc, "source -s abc.rc" );
190  }
191 #endif
192 
193 #ifdef ABC_PYTHON_EMBED
194  if ( getenv("ABC_PYTHON_ABC_RC") )
195  {
196  /* read script file from $ABC_PYTHON_ABC_RC */
197 
198  char * sPath = getenv("ABC_PYTHON_ABC_RC");
199 
200  if (sPath){
201  char * sCmd = ABC_ALLOC(char, strlen(sPath) + 50);
202  (void) sprintf(sCmd, "source -s %s", sPath);
203  (void) Cmd_CommandExecute(pAbc, sCmd);
204  ABC_FREE(sCmd);
205  }
206  }
207  else
208 #endif /* #ifdef ABC_PYTHON_EMBED */
209 
210  {
211  char * sPath1, * sPath2;
212  char * home;
213 
214  // If .rc is present in both the home and current directories, then read
215  // it from the home directory. Otherwise, read it from wherever it's located.
216  home = getenv("HOME");
217  if (home){
218  char * sPath3 = ABC_ALLOC(char, strlen(home) + 2);
219  (void) sprintf(sPath3, "%s/", home);
220  sPath1 = Extra_UtilFileSearch(".abc.rc", sPath3, "r");
221  ABC_FREE(sPath3);
222  }else
223  sPath1 = NULL;
224 
225  sPath2 = Extra_UtilFileSearch(".abc.rc", ".", "r");
226 
227  if ( sPath1 && sPath2 ) {
228  /* ~/.rc == .rc : Source the file only once */
229  char *tmp_cmd = ABC_ALLOC(char, strlen(sPath1)+12);
230  (void) sprintf(tmp_cmd, "source -s %s", sPath1);
231  // (void) Cmd_CommandExecute(pAbc, "source -s ~/.abc.rc");
232  (void) Cmd_CommandExecute(pAbc, tmp_cmd);
233  ABC_FREE(tmp_cmd);
234  }
235  else {
236  if (sPath1) {
237  char *tmp_cmd = ABC_ALLOC(char, strlen(sPath1)+12);
238  (void) sprintf(tmp_cmd, "source -s %s", sPath1);
239  // (void) Cmd_CommandExecute(pAbc, "source -s ~/.abc.rc");
240  (void) Cmd_CommandExecute(pAbc, tmp_cmd);
241  ABC_FREE(tmp_cmd);
242  }
243  if (sPath2) {
244  char *tmp_cmd = ABC_ALLOC(char, strlen(sPath2)+12);
245  (void) sprintf(tmp_cmd, "source -s %s", sPath2);
246  // (void) Cmd_CommandExecute(pAbc, "source -s .abc.rc");
247  (void) Cmd_CommandExecute(pAbc, tmp_cmd);
248  ABC_FREE(tmp_cmd);
249  }
250  }
251  if ( sPath1 ) ABC_FREE(sPath1);
252  if ( sPath2 ) ABC_FREE(sPath2);
253 
254  /* execute the abc script which can be open with the "open_path" */
255  Cmd_CommandExecute( pAbc, "source -s abc.rc" );
256  }
257 
258 #endif //WIN32
259 }
char * Extra_UtilFileSearch(char *file, char *path, char *mode)
int Cmd_CommandExecute(void *pAbc, char *pCommandLine)
#define ABC_ALLOC(type, num)
Definition: abc_global.h:229
char * getenv()
char * sprintf()
#define ABC_FREE(obj)
Definition: abc_global.h:232
int strlen()
ABC_DLL int main ( int  argc,
char *  argv[] 
)

GLOBAL VARIABLES ///.

MACRO DEFINITIONS ///FUNCTION DEFINITIONS ///

GLOBAL VARIABLES ///.

CFile****************************************************************

FileName [mainMC.c]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [The main package.]

Synopsis [The main file for the model checker.]

Author [Alan Mishchenko]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - June 20, 2005.]

Revision [

Id:
main.c,v 1.00 2005/06/20 00:00:00 alanmi Exp

]FUNCTION DEFINITIONS /// Function*************************************************************

Synopsis [The main() procedure.]

Description []

SideEffects []

SeeAlso []

GLOBAL VARIABLES ///.

Function*************************************************************

Synopsis [The main() procedure.]

Description [This procedure compiles into a stand-alone program for DAG-aware rewriting of the AIGs. A BLIF or PLA file to be considered for rewriting should be given as a command-line argument. Implementation of the rewriting is inspired by the paper: Per Bjesse, Arne Boralv, "DAG-aware circuit compression for formal verification", Proc. ICCAD 2004.]

SideEffects []

SeeAlso []

Function*************************************************************

Synopsis [Takes file with commands to be executed and the number of CPUs.]

Description []

SideEffects []

SeeAlso []

Definition at line 3 of file base/main/main.c.

4 {
5  return Abc_RealMain(argc, argv);
6 }
int Abc_RealMain(int argc, char *argv[])