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
1343b8a8
Commit
1343b8a8
authored
Jul 15, 2016
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes and adjustments for the edge computation flow.
parent
3f8b5cd8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/aig/gia/giaSatLE.c
+2
-1
src/sat/bsat/satSolver.c
+1
-1
No files found.
src/aig/gia/giaSatLE.c
View file @
1343b8a8
...
...
@@ -881,7 +881,7 @@ void Sle_ManDeriveResult( Sle_Man_t * p, Vec_Int_t * vEdge2, Vec_Int_t * vMappin
if
(
!
sat_solver_var_value
(
p
->
pSat
,
iObj
)
)
continue
;
Vec_IntForEachEntry
(
vCutFans
,
iFanin
,
i
)
if
(
sat_solver_var_value
(
p
->
pSat
,
iEdgeVar0
+
i
)
)
if
(
sat_solver_var_value
(
p
->
pSat
,
i
Fanin
)
&&
sat_solver_var_value
(
p
->
pSat
,
i
EdgeVar0
+
i
)
)
Vec_IntPushTwo
(
vEdge2
,
iFanin
,
iObj
);
}
}
...
...
@@ -1029,6 +1029,7 @@ void Sle_ManExplore( Gia_Man_t * pGia, int nBTLimit, int DelayInit, int fDynamic
Vec_IntFree
(
vEdges2
);
Vec_IntFree
(
vMapping
);
}
Vec_IntFreeP
(
&
p
->
pGia
->
vPacking
);
Sle_ManStop
(
p
);
}
...
...
src/sat/bsat/satSolver.c
View file @
1343b8a8
...
...
@@ -1019,7 +1019,7 @@ sat_solver* sat_solver_new(void)
sat_solver
*
s
=
(
sat_solver
*
)
ABC_CALLOC
(
char
,
sizeof
(
sat_solver
));
// Vec_SetAlloc_(&s->Mem, 15);
Sat_MemAlloc_
(
&
s
->
Mem
,
1
5
);
Sat_MemAlloc_
(
&
s
->
Mem
,
1
7
);
s
->
hLearnts
=
-
1
;
s
->
hBinary
=
Sat_MemAppend
(
&
s
->
Mem
,
NULL
,
2
,
0
,
0
);
s
->
binary
=
clause_read
(
s
,
s
->
hBinary
);
...
...
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