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
900bdfac
Commit
900bdfac
authored
Mar 30, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in the printout of &popart.
parent
4cb042f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
src/aig/gia/giaCone.c
+13
-15
No files found.
src/aig/gia/giaCone.c
View file @
900bdfac
...
...
@@ -498,28 +498,26 @@ Vec_Ptr_t * Gia_ManHashOutputs( Gia_Man_t * p, Vec_Wrd_t * vSigns, int fVerbose
if
(
fVerbose
)
printf
(
"Computed %d partitions:
\n
"
,
Vec_PtrSize
(
vBins
)
);
if
(
fVerbose
)
printf
(
"Listing
only
partitions with more than 100 outputs:
\n
"
);
if
(
!
fVerbose
)
printf
(
"Listing partitions with more than 100 outputs:
\n
"
);
Vec_PtrForEachEntry
(
Vec_Int_t
*
,
vBins
,
vBin
,
i
)
{
if
(
fVerbose
&&
Vec_IntSize
(
vBin
)
>
100
)
{
int
PoNum
=
Vec_IntEntry
(
vBin
,
1
);
word
Sign
=
Vec_WrdEntry
(
vSigns
,
PoNum
);
printf
(
"%3d "
,
i
);
Extra_PrintBinary
(
stdout
,
(
unsigned
*
)
&
Sign
,
64
);
printf
(
" "
);
}
// remove the first item
ABC_SWAP
(
int
,
vBin
->
pArray
[
0
],
vBin
->
pArray
[
Vec_IntSize
(
vBin
)
-
1
]
);
Vec_IntPop
(
vBin
);
Vec_IntSort
(
vBin
,
0
);
if
(
fVerbose
&&
Vec_IntSize
(
vBin
)
>
100
)
assert
(
Vec_IntSize
(
vBin
)
>
0
);
if
(
fVerbose
||
Vec_IntSize
(
vBin
)
>
100
)
{
printf
(
"PO =%5d "
,
Vec_IntSize
(
vBin
)
);
printf
(
"FF =%5d"
,
Gia_ManCountFlops
(
p
,
vBin
)
);
int
PoNum
=
Vec_IntEntry
(
vBin
,
0
);
Gia_Obj_t
*
pObj
=
Gia_ManPo
(
p
,
PoNum
);
word
Sign
=
Vec_WrdEntry
(
vSigns
,
Gia_ObjId
(
p
,
pObj
)
);
// print
printf
(
"%3d "
,
i
);
Extra_PrintBinary
(
stdout
,
(
unsigned
*
)
&
Sign
,
64
);
printf
(
" "
);
printf
(
"PO =%7d "
,
Vec_IntSize
(
vBin
)
);
printf
(
"FF =%7d"
,
Gia_ManCountFlops
(
p
,
vBin
)
);
printf
(
"
\n
"
);
}
}
...
...
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