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
ecafca53
Commit
ecafca53
authored
Nov 15, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiments with MFFC computation (bug fix).
parent
b28c4b5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/aig/gia/giaMf.c
+2
-2
src/aig/gia/giaUtil.c
+1
-1
No files found.
src/aig/gia/giaMf.c
View file @
ecafca53
...
...
@@ -1600,14 +1600,14 @@ static inline int Mf_CutAreaRefed( Mf_Man_t * p, int * pCut )
{
int
Ela1
=
Mf_CutDeref_rec
(
p
,
pCut
);
int
Ela2
=
Mf_CutRef_rec
(
p
,
pCut
);
//
assert( Ela1 == Ela2 );
assert
(
Ela1
==
Ela2
);
return
Ela1
;
}
static
inline
int
Mf_CutAreaDerefed
(
Mf_Man_t
*
p
,
int
*
pCut
)
{
int
Ela1
=
Mf_CutRef_rec
(
p
,
pCut
);
int
Ela2
=
Mf_CutDeref_rec
(
p
,
pCut
);
//
assert( Ela1 == Ela2 );
assert
(
Ela1
==
Ela2
);
return
Ela1
;
}
static
inline
float
Mf_CutFlow
(
Mf_Man_t
*
p
,
int
*
pCut
,
int
*
pTime
)
...
...
src/aig/gia/giaUtil.c
View file @
ecafca53
...
...
@@ -1272,9 +1272,9 @@ int Gia_NodeMffcMapping( Gia_Man_t * p )
Vec_IntFill
(
vMapping
,
Gia_ManObjNum
(
p
),
0
);
pRefsOld
=
p
->
pRefs
;
p
->
pRefs
=
NULL
;
Gia_ManCreateRefs
(
p
);
p
->
pRefs
=
pRefsOld
;
Gia_ManForEachCoDriverId
(
p
,
Id
,
i
)
Count
+=
Gia_NodeMffcMapping_rec
(
p
,
Id
,
vMapping
,
vSupp
);
p
->
pRefs
=
pRefsOld
;
Vec_IntFree
(
vSupp
);
p
->
vMapping
=
vMapping
;
//printf( "Mapping is %.2fx larger than AIG manager.\n", 1.0*Vec_IntSize(vMapping)/Gia_ManObjNum(p) );
...
...
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