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
409ce39b
Commit
409ce39b
authored
Aug 09, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved abstraction refinement.
parent
a019dd21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/aig/gia/giaAbsGla2.c
+4
-1
src/aig/gia/giaAbsVta.c
+1
-1
No files found.
src/aig/gia/giaAbsGla2.c
View file @
409ce39b
...
...
@@ -1433,6 +1433,7 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
// remember abstraction size after the last restart
nAbsOld
=
Vec_IntSize
(
p
->
vAbs
);
// unroll the circuit
p
->
pPars
->
nFramesNoChange
=
-
1
;
for
(
f
=
0
;
!
pPars
->
nFramesMax
||
f
<
pPars
->
nFramesMax
;
f
++
)
{
// remember current limits
...
...
@@ -1528,7 +1529,8 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
assert
(
RetValue
==
l_False
);
if
(
c
==
0
)
{
p
->
pPars
->
nFramesNoChange
++
;
if
(
p
->
pPars
->
nFramesNoChange
>=
0
)
p
->
pPars
->
nFramesNoChange
++
;
break
;
}
p
->
pPars
->
nFramesNoChange
=
0
;
...
...
@@ -1599,6 +1601,7 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
}
}
finish:
p
->
pPars
->
nFramesNoChange
=
Abc_MaxInt
(
p
->
pPars
->
nFramesNoChange
,
0
);
Prf_ManStopP
(
&
p
->
pSat
->
pPrf2
);
if
(
p
->
pPars
->
fVerbose
)
Abc_Print
(
1
,
"
\n
"
);
...
...
src/aig/gia/giaAbsVta.c
View file @
409ce39b
...
...
@@ -155,7 +155,7 @@ void Gia_VtaSetDefaultParams( Gia_ParVta_t * p )
p
->
nLearnedMax
=
1000
;
// max number of learned clauses
p
->
nLearnedStart
=
1000
;
// max number of learned clauses
p
->
nLearnedDelta
=
200
;
// max number of learned clauses
p
->
nLearnedPerce
=
4
0
;
// max number of learned clauses
p
->
nLearnedPerce
=
7
0
;
// max number of learned clauses
p
->
nTimeOut
=
0
;
// timeout in seconds
p
->
nRatioMin
=
10
;
// stop when less than this % of object is abstracted
p
->
nRatioMax
=
30
;
// restart when more than this % of object is abstracted
...
...
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