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
ab75993d
Commit
ab75993d
authored
Feb 19, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved two new APIs for reading/writing CEX from/into ABC from abc.c to mainFrame.c.
parent
e3f88c81
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
38 deletions
+5
-38
src/base/abci/abc.c
+0
-36
src/base/main/main.h
+3
-1
src/base/main/mainFrame.c
+2
-1
No files found.
src/base/abci/abc.c
View file @
ab75993d
...
...
@@ -397,42 +397,6 @@ extern int Abc_CommandAbcLivenessToSafetyWithLTL( Abc_Frame_t * pAbc, int argc,
SeeAlso []
***********************************************************************/
Abc_Cex_t
*
Abc_FrameReadCex
(
Abc_Frame_t
*
pAbc
)
{
Abc_Cex_t
*
pCex
;
pCex
=
pAbc
->
pCex
;
pAbc
->
pCex
=
NULL
;
return
pCex
;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Abc_FrameSetCex
(
Abc_Frame_t
*
pAbc
,
Abc_Cex_t
*
pCex
)
{
ABC_FREE
(
pAbc
->
pCex
);
pAbc
->
pCex
=
pCex
;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Abc_FrameReplaceCex
(
Abc_Frame_t
*
pAbc
,
Abc_Cex_t
**
ppCex
)
{
ABC_FREE
(
pAbc
->
pCex
);
...
...
src/base/main/main.h
View file @
ab75993d
...
...
@@ -108,7 +108,7 @@ extern ABC_DLL int Abc_FrameIsFlagEnabled( char * pFlag );
extern
ABC_DLL
int
Abc_FrameReadBmcFrames
(
Abc_Frame_t
*
p
);
extern
ABC_DLL
int
Abc_FrameReadProbStatus
(
Abc_Frame_t
*
p
);
extern
ABC_DLL
void
*
Abc_FrameReadCex
(
Abc_Frame_t
*
p
);
extern
ABC_DLL
Abc_Cex_t
*
Abc_FrameReadCex
(
Abc_Frame_t
*
p
);
extern
ABC_DLL
int
Abc_FrameReadCexPiNum
(
Abc_Frame_t
*
p
);
extern
ABC_DLL
int
Abc_FrameReadCexRegNum
(
Abc_Frame_t
*
p
);
...
...
@@ -123,6 +123,8 @@ extern ABC_DLL void Abc_FrameSetLibGen2( void * pLib );
extern
ABC_DLL
void
Abc_FrameSetLibSuper
(
void
*
pLib
);
extern
ABC_DLL
void
Abc_FrameSetLibVer
(
void
*
pLib
);
extern
ABC_DLL
void
Abc_FrameSetFlag
(
char
*
pFlag
,
char
*
pValue
);
extern
ABC_DLL
void
Abc_FrameSetCex
(
Abc_Cex_t
*
pCex
);
...
...
src/base/main/mainFrame.c
View file @
ab75993d
...
...
@@ -60,7 +60,7 @@ char * Abc_FrameReadFlag( char * pFlag ) { return Cmd_FlagRe
int
Abc_FrameReadBmcFrames
(
Abc_Frame_t
*
p
)
{
return
s_GlobalFrame
->
nFrames
;
}
int
Abc_FrameReadProbStatus
(
Abc_Frame_t
*
p
)
{
return
s_GlobalFrame
->
Status
;
}
void
*
Abc_FrameReadCex
(
Abc_Frame_t
*
p
)
{
return
s_GlobalFrame
->
pCex
;
}
Abc_Cex_t
*
Abc_FrameReadCex
(
Abc_Frame_t
*
p
)
{
return
s_GlobalFrame
->
pCex
;
}
int
Abc_FrameReadCexPiNum
(
Abc_Frame_t
*
p
)
{
return
s_GlobalFrame
->
pCex
->
nPis
;
}
int
Abc_FrameReadCexRegNum
(
Abc_Frame_t
*
p
)
{
return
s_GlobalFrame
->
pCex
->
nRegs
;
}
...
...
@@ -73,6 +73,7 @@ void Abc_FrameSetLibGen2( void * pLib ) { s_GlobalFrame->pL
void
Abc_FrameSetLibSuper
(
void
*
pLib
)
{
s_GlobalFrame
->
pLibSuper
=
pLib
;
}
void
Abc_FrameSetLibVer
(
void
*
pLib
)
{
s_GlobalFrame
->
pLibVer
=
pLib
;
}
void
Abc_FrameSetFlag
(
char
*
pFlag
,
char
*
pValue
)
{
Cmd_FlagUpdateValue
(
s_GlobalFrame
,
pFlag
,
pValue
);
}
void
Abc_FrameSetCex
(
Abc_Cex_t
*
pCex
)
{
ABC_FREE
(
s_GlobalFrame
->
pCex
);
s_GlobalFrame
->
pCex
=
pCex
;
}
/**Function*************************************************************
...
...
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