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
c54da1e9
Commit
c54da1e9
authored
Mar 18, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corner case bug fix in &sat -a.
parent
488f9497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
src/proof/cec/cecSolve.c
+12
-3
No files found.
src/proof/cec/cecSolve.c
View file @
c54da1e9
...
@@ -673,6 +673,14 @@ p->timeSatUndec += Abc_Clock() - clk;
...
@@ -673,6 +673,14 @@ p->timeSatUndec += Abc_Clock() - clk;
SeeAlso []
SeeAlso []
***********************************************************************/
***********************************************************************/
Abc_Cex_t
*
Cex_ManGenSimple
(
Cec_ManSat_t
*
p
,
int
iOut
)
{
Abc_Cex_t
*
pCex
;
pCex
=
Abc_CexAlloc
(
0
,
Gia_ManCiNum
(
p
->
pAig
),
1
);
pCex
->
iPo
=
iOut
;
pCex
->
iFrame
=
0
;
return
pCex
;
}
Abc_Cex_t
*
Cex_ManGenCex
(
Cec_ManSat_t
*
p
,
int
iOut
)
Abc_Cex_t
*
Cex_ManGenCex
(
Cec_ManSat_t
*
p
,
int
iOut
)
{
{
Abc_Cex_t
*
pCex
;
Abc_Cex_t
*
pCex
;
...
@@ -715,10 +723,11 @@ void Cec_ManSatSolve( Cec_ManPat_t * pPat, Gia_Man_t * pAig, Cec_ParSat_t * pPar
...
@@ -715,10 +723,11 @@ void Cec_ManSatSolve( Cec_ManPat_t * pPat, Gia_Man_t * pAig, Cec_ParSat_t * pPar
{
{
if
(
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
pObj
))
)
if
(
Gia_ObjIsConst0
(
Gia_ObjFanin0
(
pObj
))
)
{
{
pObj
->
fMark0
=
0
;
status
=
!
Gia_ObjFaninC0
(
pObj
);
pObj
->
fMark1
=
1
;
pObj
->
fMark0
=
(
status
==
0
);
pObj
->
fMark1
=
(
status
==
1
);
if
(
pPars
->
fSaveCexes
)
if
(
pPars
->
fSaveCexes
)
Vec_PtrWriteEntry
(
pAig
->
vSeqModelVec
,
i
,
(
Abc_Cex_t
*
)(
ABC_PTRINT_T
)
1
);
Vec_PtrWriteEntry
(
pAig
->
vSeqModelVec
,
i
,
status
?
(
Abc_Cex_t
*
)(
ABC_PTRINT_T
)
1
:
Cex_ManGenSimple
(
p
,
i
)
);
continue
;
continue
;
}
}
Bar_ProgressUpdate
(
pProgress
,
i
,
"SAT..."
);
Bar_ProgressUpdate
(
pProgress
,
i
,
"SAT..."
);
...
...
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