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
40d29e78
Commit
40d29e78
authored
Mar 03, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only try scorr on small circuits
parent
cb603c5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
27 deletions
+31
-27
src/base/wlc/wlcAbs.c
+31
-27
No files found.
src/base/wlc/wlcAbs.c
View file @
40d29e78
...
...
@@ -1124,34 +1124,38 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars )
if
(
vClauses
&&
pPars
->
fCheckCombUnsat
)
{
Pdr_Man_t
*
pPdr2
;
Aig_Man_t
*
pAigScorr
;
Ssw_Pars_t
ScorrPars
,
*
pScorrPars
=
&
ScorrPars
;
int
nAnds
;
clk2
=
Abc_Clock
();
Ssw_ManSetDefaultParams
(
pScorrPars
);
pScorrPars
->
fStopWhenGone
=
1
;
pScorrPars
->
nFramesK
=
1
;
pAigScorr
=
Ssw_SignalCorrespondence
(
pAig
,
pScorrPars
);
assert
(
pAigScorr
);
nAnds
=
Aig_ManAndNum
(
pAigScorr
);
Aig_ManStop
(
pAigScorr
);
if
(
nAnds
==
0
)
{
if
(
pPars
->
fVerbose
)
Abc_PrintTime
(
1
,
"SCORR proved UNSAT. Time"
,
Abc_Clock
()
-
clk2
);
RetValue
=
1
;
Gia_ManStop
(
pGia
);
Vec_IntFree
(
vPisNew
);
Aig_ManStop
(
pAig
);
break
;
}
else
if
(
pPars
->
fVerbose
)
{
Abc_Print
(
1
,
"SCORR failed with %d ANDs. "
,
nAnds
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk2
);
if
(
Aig_ManAndNum
(
pAig
)
<=
20000
)
{
Aig_Man_t
*
pAigScorr
;
Ssw_Pars_t
ScorrPars
,
*
pScorrPars
=
&
ScorrPars
;
int
nAnds
;
clk2
=
Abc_Clock
();
Ssw_ManSetDefaultParams
(
pScorrPars
);
pScorrPars
->
fStopWhenGone
=
1
;
pScorrPars
->
nFramesK
=
1
;
pAigScorr
=
Ssw_SignalCorrespondence
(
pAig
,
pScorrPars
);
assert
(
pAigScorr
);
nAnds
=
Aig_ManAndNum
(
pAigScorr
);
Aig_ManStop
(
pAigScorr
);
if
(
nAnds
==
0
)
{
if
(
pPars
->
fVerbose
)
Abc_PrintTime
(
1
,
"SCORR proved UNSAT. Time"
,
Abc_Clock
()
-
clk2
);
RetValue
=
1
;
Gia_ManStop
(
pGia
);
Vec_IntFree
(
vPisNew
);
Aig_ManStop
(
pAig
);
break
;
}
else
if
(
pPars
->
fVerbose
)
{
Abc_Print
(
1
,
"SCORR failed with %d ANDs. "
,
nAnds
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk2
);
}
}
clk2
=
Abc_Clock
();
...
...
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