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
7713e94a
Commit
7713e94a
authored
Mar 18, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
%pdra: isolated the procedure for checking comb. unsat
parent
eff11d95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
src/base/wlc/wlcAbs.c
+16
-4
No files found.
src/base/wlc/wlcAbs.c
View file @
7713e94a
...
@@ -1251,14 +1251,12 @@ Aig_Man_t * Wla_ManBitBlast( Wla_Man_t * pWla, Wlc_Ntk_t * pAbs )
...
@@ -1251,14 +1251,12 @@ Aig_Man_t * Wla_ManBitBlast( Wla_Man_t * pWla, Wlc_Ntk_t * pAbs )
return
pAig
;
return
pAig
;
}
}
int
Wla_Man
Solve
(
Wla_Man_t
*
pWla
,
Aig_Man_t
*
pAig
)
int
Wla_Man
CheckCombUnsat
(
Wla_Man_t
*
pWla
,
Aig_Man_t
*
pAig
)
{
{
abctime
clk
;
Pdr_Man_t
*
pPdr
;
Pdr_Man_t
*
pPdr
;
abctime
clk
;
int
RetValue
=
-
1
;
int
RetValue
=
-
1
;
if
(
pWla
->
vClauses
&&
pWla
->
pPars
->
fCheckCombUnsat
)
{
if
(
Aig_ManAndNum
(
pAig
)
<=
20000
)
if
(
Aig_ManAndNum
(
pAig
)
<=
20000
)
{
{
Aig_Man_t
*
pAigScorr
;
Aig_Man_t
*
pAigScorr
;
...
@@ -1298,6 +1296,20 @@ int Wla_ManSolve( Wla_Man_t * pWla, Aig_Man_t * pAig )
...
@@ -1298,6 +1296,20 @@ int Wla_ManSolve( Wla_Man_t * pWla, Aig_Man_t * pAig )
pWla
->
tPdr
+=
Abc_Clock
()
-
clk
;
pWla
->
tPdr
+=
Abc_Clock
()
-
clk
;
return
RetValue
;
}
int
Wla_ManSolve
(
Wla_Man_t
*
pWla
,
Aig_Man_t
*
pAig
)
{
abctime
clk
;
Pdr_Man_t
*
pPdr
;
int
RetValue
=
-
1
;
if
(
pWla
->
vClauses
&&
pWla
->
pPars
->
fCheckCombUnsat
)
{
clk
=
Abc_Clock
();
RetValue
=
Wla_ManCheckCombUnsat
(
pWla
,
pAig
);
if
(
RetValue
==
1
)
if
(
RetValue
==
1
)
{
{
if
(
pWla
->
pPars
->
fVerbose
)
if
(
pWla
->
pPars
->
fVerbose
)
...
...
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