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
4c78f37a
Commit
4c78f37a
authored
Nov 14, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sweeping up to a given level.
parent
581f2e59
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/proof/cec/cecSatG2.c
+5
-1
No files found.
src/proof/cec/cecSatG2.c
View file @
4c78f37a
...
@@ -1273,7 +1273,7 @@ void Cec4_ManSatSolverRecycle( Cec4_Man_t * p )
...
@@ -1273,7 +1273,7 @@ void Cec4_ManSatSolverRecycle( Cec4_Man_t * p )
int
Cec4_ManSolveTwo
(
Cec4_Man_t
*
p
,
int
iObj0
,
int
iObj1
,
int
fPhase
,
int
*
pfEasy
,
int
fVerbose
)
int
Cec4_ManSolveTwo
(
Cec4_Man_t
*
p
,
int
iObj0
,
int
iObj1
,
int
fPhase
,
int
*
pfEasy
,
int
fVerbose
)
{
{
abctime
clk
;
abctime
clk
;
int
nBTLimit
=
(
Vec_BitEntry
(
p
->
vFails
,
iObj0
)
||
Vec_BitEntry
(
p
->
vFails
,
iObj1
)
)
?
p
->
pPars
->
nBTLimit
/
10
:
p
->
pPars
->
nBTLimit
;
int
nBTLimit
=
Vec_BitEntry
(
p
->
vFails
,
iObj0
)
||
Vec_BitEntry
(
p
->
vFails
,
iObj1
)
?
p
->
pPars
->
nBTLimit
/
10
:
p
->
pPars
->
nBTLimit
;
int
nConfEnd
,
nConfBeg
,
status
,
iVar0
,
iVar1
,
Lits
[
2
];
int
nConfEnd
,
nConfBeg
,
status
,
iVar0
,
iVar1
,
Lits
[
2
];
int
UnsatConflicts
[
3
]
=
{
0
};
int
UnsatConflicts
[
3
]
=
{
0
};
if
(
iObj1
<
iObj0
)
if
(
iObj1
<
iObj0
)
...
@@ -1494,6 +1494,8 @@ int Cec4_ManPerformSweeping( Gia_Man_t * p, Cec_ParFra_t * pPars, Gia_Man_t ** p
...
@@ -1494,6 +1494,8 @@ int Cec4_ManPerformSweeping( Gia_Man_t * p, Cec_ParFra_t * pPars, Gia_Man_t ** p
// check if any output trivially fails under all-0 pattern
// check if any output trivially fails under all-0 pattern
Gia_ManRandom
(
1
);
Gia_ManRandom
(
1
);
Gia_ManSetPhase
(
p
);
Gia_ManSetPhase
(
p
);
if
(
pPars
->
nLevelMax
)
Gia_ManLevelNum
(
p
);
//Gia_ManStaticFanoutStart( p );
//Gia_ManStaticFanoutStart( p );
if
(
pPars
->
fCheckMiter
)
if
(
pPars
->
fCheckMiter
)
{
{
...
@@ -1548,6 +1550,8 @@ int Cec4_ManPerformSweeping( Gia_Man_t * p, Cec_ParFra_t * pPars, Gia_Man_t ** p
...
@@ -1548,6 +1550,8 @@ int Cec4_ManPerformSweeping( Gia_Man_t * p, Cec_ParFra_t * pPars, Gia_Man_t ** p
Gia_Obj_t
*
pObjNew
;
Gia_Obj_t
*
pObjNew
;
pMan
->
nAndNodes
++
;
pMan
->
nAndNodes
++
;
pObj
->
Value
=
Gia_ManHashAnd
(
pMan
->
pNew
,
Gia_ObjFanin0Copy
(
pObj
),
Gia_ObjFanin1Copy
(
pObj
)
);
pObj
->
Value
=
Gia_ManHashAnd
(
pMan
->
pNew
,
Gia_ObjFanin0Copy
(
pObj
),
Gia_ObjFanin1Copy
(
pObj
)
);
if
(
pPars
->
nLevelMax
&&
Gia_ObjLevel
(
p
,
pObj
)
>
pPars
->
nLevelMax
)
continue
;
pObjNew
=
Gia_ManObj
(
pMan
->
pNew
,
Abc_Lit2Var
(
pObj
->
Value
)
);
pObjNew
=
Gia_ManObj
(
pMan
->
pNew
,
Abc_Lit2Var
(
pObj
->
Value
)
);
if
(
Gia_ObjIsAnd
(
pObjNew
)
)
if
(
Gia_ObjIsAnd
(
pObjNew
)
)
if
(
Vec_BitEntry
(
pMan
->
vFails
,
Gia_ObjFaninId0
(
pObjNew
,
Abc_Lit2Var
(
pObj
->
Value
)))
||
if
(
Vec_BitEntry
(
pMan
->
vFails
,
Gia_ObjFaninId0
(
pObjNew
,
Abc_Lit2Var
(
pObj
->
Value
)))
||
...
...
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