Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
a4baba2c
Commit
a4baba2c
authored
Apr 27, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc changes.
parent
590202e3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
13 deletions
+19
-13
src/base/main/mainInit.c
+10
-1
src/base/main/mainInt.h
+9
-12
No files found.
src/base/main/mainInit.c
View file @
a4baba2c
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
ABC_NAMESPACE_IMPL_START
ABC_NAMESPACE_IMPL_START
//#define USE_ABC2
#define USE_ABC2
#define USE_ABC85
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// DECLARATIONS ///
/// DECLARATIONS ///
...
@@ -51,6 +52,8 @@ extern void Test_Init( Abc_Frame_t * pAbc );
...
@@ -51,6 +52,8 @@ extern void Test_Init( Abc_Frame_t * pAbc );
extern
void
Test_End
(
Abc_Frame_t
*
pAbc
);
extern
void
Test_End
(
Abc_Frame_t
*
pAbc
);
extern
void
Abc2_Init
(
Abc_Frame_t
*
pAbc
);
extern
void
Abc2_Init
(
Abc_Frame_t
*
pAbc
);
extern
void
Abc2_End
(
Abc_Frame_t
*
pAbc
);
extern
void
Abc2_End
(
Abc_Frame_t
*
pAbc
);
extern
void
Abc85_Init
(
Abc_Frame_t
*
pAbc
);
extern
void
Abc85_End
(
Abc_Frame_t
*
pAbc
);
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
/// FUNCTION DEFINITIONS ///
...
@@ -83,6 +86,9 @@ void Abc_FrameInit( Abc_Frame_t * pAbc )
...
@@ -83,6 +86,9 @@ void Abc_FrameInit( Abc_Frame_t * pAbc )
#ifdef USE_ABC2
#ifdef USE_ABC2
Abc2_Init
(
pAbc
);
Abc2_Init
(
pAbc
);
#endif
#endif
#ifdef USE_ABC85
Abc85_Init
(
pAbc
);
#endif
EXT_ABC_INIT
(
pAbc
)
// plugin for external functionality
EXT_ABC_INIT
(
pAbc
)
// plugin for external functionality
}
}
...
@@ -113,6 +119,9 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc )
...
@@ -113,6 +119,9 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc )
#ifdef USE_ABC2
#ifdef USE_ABC2
Abc2_End
(
pAbc
);
Abc2_End
(
pAbc
);
#endif
#endif
#ifdef USE_ABC85
Abc85_End
(
pAbc
);
#endif
EXT_ABC_END
(
pAbc
)
// plugin for external functionality
EXT_ABC_END
(
pAbc
)
// plugin for external functionality
}
}
...
...
src/base/main/mainInt.h
View file @
a4baba2c
...
@@ -96,22 +96,19 @@ struct Abc_Frame_t_
...
@@ -96,22 +96,19 @@ struct Abc_Frame_t_
Abc_Cex_t
*
pCex
;
// a counter-example to fail the current network
Abc_Cex_t
*
pCex
;
// a counter-example to fail the current network
Vec_Ptr_t
*
vCexVec
;
// a vector of counter-examples if more than one PO fails
Vec_Ptr_t
*
vCexVec
;
// a vector of counter-examples if more than one PO fails
Vec_Ptr_t
*
vPoEquivs
;
// equivalence classes of isomorphic primary outputs
Vec_Ptr_t
*
vPoEquivs
;
// equivalence classes of isomorphic primary outputs
int
Status
;
// the status of verification problem (proved=1, disproved=0, undecided=-1)
int
nFrames
;
// the number of time frames completed by BMC
Vec_Ptr_t
*
vPlugInComBinPairs
;
// pairs of command and its binary name
Vec_Ptr_t
*
vLTLProperties_global
;
// related to LTL
void
*
pSave1
;
void
*
pSave1
;
void
*
pSave2
;
void
*
pSave2
;
void
*
pSave3
;
void
*
pSave3
;
void
*
pSave4
;
void
*
pSave4
;
void
*
pAbc85Ntl
;
// related to LTL
void
*
pAbc85Ntl2
;
Vec_Ptr_t
*
vLTLProperties_global
;
void
*
pAbc85Best
;
void
*
pAbc85Delay
;
// the addition to keep the best Ntl that can be used to restore
If_Lib_t
*
pAbc85Lib
;
void
*
pAbc8NtlBestDelay
;
// the best delay, Ntl
void
*
pAbc8NtlBestArea
;
// the best area
int
Status
;
// the status of verification problem (proved=1, disproved=0, undecided=-1)
int
nFrames
;
// the number of time frames completed by BMC
Vec_Ptr_t
*
vPlugInComBinPairs
;
// pairs of command and its binary name
EXT_ABC_FRAME
// plugin for external functionality
EXT_ABC_FRAME
// plugin for external functionality
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment