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
55a67a11
Commit
55a67a11
authored
Sep 21, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvement to reconv-driven windowing.
parent
d9534252
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/aig/gia/giaResub2.c
+3
-2
No files found.
src/aig/gia/giaResub2.c
View file @
55a67a11
...
@@ -1099,7 +1099,8 @@ int Gia_RsbFindFaninToAddToCut( Gia_Man_t * p, Vec_Int_t * vIns )
...
@@ -1099,7 +1099,8 @@ int Gia_RsbFindFaninToAddToCut( Gia_Man_t * p, Vec_Int_t * vIns )
}
}
// find fanin with the highest count
// find fanin with the highest count
for
(
i
=
0
;
i
<
nFanins
;
i
++
)
for
(
i
=
0
;
i
<
nFanins
;
i
++
)
if
(
CountMax
<
pFaninCounts
[
i
]
)
// if ( CountMax < pFaninCounts[i] )
if
(
CountMax
<
pFaninCounts
[
i
]
||
(
CountMax
==
pFaninCounts
[
i
]
&&
(
Gia_ObjFanoutNumId
(
p
,
iFanMax
)
<
Gia_ObjFanoutNumId
(
p
,
pFanins
[
i
])))
)
{
{
CountMax
=
pFaninCounts
[
i
];
CountMax
=
pFaninCounts
[
i
];
iFanMax
=
pFanins
[
i
];
iFanMax
=
pFanins
[
i
];
...
@@ -1322,7 +1323,7 @@ int Gia_ManVerifyTwoTruths( Gia_Man_t * p1, Gia_Man_t * p2 )
...
@@ -1322,7 +1323,7 @@ int Gia_ManVerifyTwoTruths( Gia_Man_t * p1, Gia_Man_t * p2 )
void
Gia_RsbEnumerateWindows
(
Gia_Man_t
*
p
,
int
nInputsMax
,
int
nLevelsMax
)
void
Gia_RsbEnumerateWindows
(
Gia_Man_t
*
p
,
int
nInputsMax
,
int
nLevelsMax
)
{
{
int
fVerbose
=
0
;
int
fVerbose
=
0
;
int
fUseHash
=
1
;
int
fUseHash
=
0
;
int
i
,
nWins
=
0
,
nWinSize
=
0
,
nInsSize
=
0
,
nOutSize
=
0
,
nNodeGain
=
0
;
int
i
,
nWins
=
0
,
nWinSize
=
0
,
nInsSize
=
0
,
nOutSize
=
0
,
nNodeGain
=
0
;
Vec_Wec_t
*
vLevels
=
Vec_WecStart
(
Gia_ManLevelNum
(
p
)
+
1
);
Vec_Wec_t
*
vLevels
=
Vec_WecStart
(
Gia_ManLevelNum
(
p
)
+
1
);
Vec_Int_t
*
vPaths
=
Vec_IntStart
(
Gia_ManObjNum
(
p
)
);
Vec_Int_t
*
vPaths
=
Vec_IntStart
(
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