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
9e0fa47c
Commit
9e0fa47c
authored
Jan 11, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suggested fix to not collect leaves of black boxes.
parent
dccd3992
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/aig/gia/giaMfs.c
+4
-4
No files found.
src/aig/gia/giaMfs.c
View file @
9e0fa47c
...
...
@@ -161,13 +161,13 @@ Sfm_Ntk_t * Gia_ManExtractMfs( Gia_Man_t * p )
{
nBoxIns
=
Tim_ManBoxInputNum
(
pManTime
,
k
);
nBoxOuts
=
Tim_ManBoxOutputNum
(
pManTime
,
k
);
// collect truth table leaves
Vec_IntClear
(
vLeaves
);
for
(
i
=
0
;
i
<
nBoxIns
;
i
++
)
Vec_IntPush
(
vLeaves
,
Gia_ObjId
(
p
->
pAigExtra
,
Gia_ManCi
(
p
->
pAigExtra
,
i
))
);
// iterate through box outputs
if
(
!
Tim_ManBoxIsBlack
(
pManTime
,
k
)
)
//&& Tim_ManBoxInputNum(pManTime, k) <= 6 )
{
// collect truth table leaves
Vec_IntClear
(
vLeaves
);
for
(
i
=
0
;
i
<
nBoxIns
;
i
++
)
Vec_IntPush
(
vLeaves
,
Gia_ObjId
(
p
->
pAigExtra
,
Gia_ManCi
(
p
->
pAigExtra
,
i
))
);
for
(
j
=
0
;
j
<
nBoxOuts
;
j
++
)
{
// CI corresponding to the box outputs
...
...
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