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
5da7102f
Commit
5da7102f
authored
Aug 11, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing undesirable effect of recent refinement code on older code in &gla -n.
parent
528c8e0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
src/aig/gia/giaAbsGla.c
+1
-1
src/aig/gia/giaAbsGla2.c
+1
-1
src/aig/gia/giaAbsRef.c
+4
-2
src/aig/gia/giaAbsRef.h
+1
-1
No files found.
src/aig/gia/giaAbsGla.c
View file @
5da7102f
...
...
@@ -712,7 +712,7 @@ Vec_Int_t * Gla_ManRefinement( Gla_Man_t * p )
Gia_Obj_t
*
pObj
;
int
i
;
Gia_GlaPrepareCexAndMap
(
p
,
&
pCex
,
&
vMap
);
vVec
=
Rnm_ManRefine
(
p
->
pRnm
,
pCex
,
vMap
,
p
->
pPars
->
fPropFanout
,
1
);
vVec
=
Rnm_ManRefine
(
p
->
pRnm
,
pCex
,
vMap
,
p
->
pPars
->
fPropFanout
,
0
,
1
);
Abc_CexFree
(
pCex
);
if
(
Vec_IntSize
(
vVec
)
==
0
)
{
...
...
src/aig/gia/giaAbsGla2.c
View file @
5da7102f
...
...
@@ -1224,7 +1224,7 @@ Vec_Int_t * Ga2_ManRefine( Ga2_Man_t * p )
int
i
,
k
;
Ga2_GlaPrepareCexAndMap
(
p
,
&
pCex
,
&
vMap
);
// Rf2_ManRefine( p->pRf2, pCex, vMap, p->pPars->fPropFanout, 1 );
vVec
=
Rnm_ManRefine
(
p
->
pRnm
,
pCex
,
vMap
,
p
->
pPars
->
fPropFanout
,
1
);
vVec
=
Rnm_ManRefine
(
p
->
pRnm
,
pCex
,
vMap
,
p
->
pPars
->
fPropFanout
,
1
,
1
);
// printf( "Refinement %d\n", Vec_IntSize(vVec) );
Abc_CexFree
(
pCex
);
if
(
Vec_IntSize
(
vVec
)
==
0
)
...
...
src/aig/gia/giaAbsRef.c
View file @
5da7102f
...
...
@@ -900,10 +900,10 @@ Vec_Int_t * Ga2_FilterSelected( Rnm_Man_t * p, Vec_Int_t * vSelect )
SeeAlso []
***********************************************************************/
Vec_Int_t
*
Rnm_ManRefine
(
Rnm_Man_t
*
p
,
Abc_Cex_t
*
pCex
,
Vec_Int_t
*
vMap
,
int
fPropFanout
,
int
fVerbose
)
Vec_Int_t
*
Rnm_ManRefine
(
Rnm_Man_t
*
p
,
Abc_Cex_t
*
pCex
,
Vec_Int_t
*
vMap
,
int
fPropFanout
,
int
f
PostProcess
,
int
f
Verbose
)
{
int
fVerify
=
0
;
int
fPostProcess
=
1
;
//
int fPostProcess = 1;
Vec_Int_t
*
vSelected
=
Vec_IntAlloc
(
100
);
Vec_Int_t
*
vNew
;
clock_t
clk
,
clk2
=
clock
();
...
...
@@ -953,6 +953,7 @@ Vec_Int_t * Rnm_ManRefine( Rnm_Man_t * p, Abc_Cex_t * pCex, Vec_Int_t * vMap, in
}
else
{
/*
vNew = Rnm_ManRefineUnsatCore( p, vSelected );
if ( Vec_IntSize(vNew) > 0 )
{
...
...
@@ -965,6 +966,7 @@ Vec_Int_t * Rnm_ManRefine( Rnm_Man_t * p, Abc_Cex_t * pCex, Vec_Int_t * vMap, in
Vec_IntFree( vNew );
// printf( "\nBig refinement.\n" );
}
*/
}
// clean values
...
...
src/aig/gia/giaAbsRef.h
View file @
5da7102f
...
...
@@ -51,7 +51,7 @@ typedef struct Rnm_Man_t_ Rnm_Man_t; // refinement manager
extern
Rnm_Man_t
*
Rnm_ManStart
(
Gia_Man_t
*
pGia
);
extern
void
Rnm_ManStop
(
Rnm_Man_t
*
p
,
int
fProfile
);
extern
double
Rnm_ManMemoryUsage
(
Rnm_Man_t
*
p
);
extern
Vec_Int_t
*
Rnm_ManRefine
(
Rnm_Man_t
*
p
,
Abc_Cex_t
*
pCex
,
Vec_Int_t
*
vMap
,
int
fPropFanout
,
int
fVerbose
);
extern
Vec_Int_t
*
Rnm_ManRefine
(
Rnm_Man_t
*
p
,
Abc_Cex_t
*
pCex
,
Vec_Int_t
*
vMap
,
int
fPropFanout
,
int
f
PostProcess
,
int
f
Verbose
);
...
...
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