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
333c3772
Commit
333c3772
authored
Sep 08, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to the new technology mapper.
parent
2faaa1c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/aig/gia/giaJf.c
+2
-1
No files found.
src/aig/gia/giaJf.c
View file @
333c3772
...
@@ -773,6 +773,7 @@ void Jf_ObjComputeCuts( Jf_Man_t * p, Gia_Obj_t * pObj )
...
@@ -773,6 +773,7 @@ void Jf_ObjComputeCuts( Jf_Man_t * p, Gia_Obj_t * pObj )
pSto
[
0
]
->
Flow
=
Jf_CutFlow
(
p
,
pSto
[
0
]
->
pCut
);
pSto
[
0
]
->
Flow
=
Jf_CutFlow
(
p
,
pSto
[
0
]
->
pCut
);
c
=
1
;
c
=
1
;
}
}
// add elementary cut
// add elementary cut
if
(
!
pObj
->
fMark0
)
if
(
!
pObj
->
fMark0
)
pSto
[
c
]
->
pCut
[
0
]
=
1
,
pSto
[
c
]
->
pCut
[
1
]
=
Jf_ObjLit
(
iObj
),
c
++
;
// set function
pSto
[
c
]
->
pCut
[
0
]
=
1
,
pSto
[
c
]
->
pCut
[
1
]
=
Jf_ObjLit
(
iObj
),
c
++
;
// set function
...
@@ -783,7 +784,7 @@ void Jf_ObjComputeCuts( Jf_Man_t * p, Gia_Obj_t * pObj )
...
@@ -783,7 +784,7 @@ void Jf_ObjComputeCuts( Jf_Man_t * p, Gia_Obj_t * pObj )
// save best info
// save best info
Vec_IntWriteEntry
(
&
p
->
vArr
,
iObj
,
pSto
[
0
]
->
Time
);
Vec_IntWriteEntry
(
&
p
->
vArr
,
iObj
,
pSto
[
0
]
->
Time
);
// Vec_FltWriteEntry( &p->vFlow, iObj, (pSto[0]->Flow + 1) / Jf_ObjRefs(p, iObj) );
// Vec_FltWriteEntry( &p->vFlow, iObj, (pSto[0]->Flow + 1) / Jf_ObjRefs(p, iObj) );
Vec_FltWriteEntry
(
&
p
->
vFlow
,
iObj
,
(
pSto
[
0
]
->
Flow
+
((
1
<<
6
)
+
pSto
[
c
]
->
pCut
[
0
]))
/
Jf_ObjRefs
(
p
,
iObj
)
);
Vec_FltWriteEntry
(
&
p
->
vFlow
,
iObj
,
(
pSto
[
0
]
->
Flow
+
((
1
<<
6
)
+
pSto
[
0
]
->
pCut
[
0
]))
/
Jf_ObjRefs
(
p
,
iObj
)
);
// add cuts to storage cuts
// add cuts to storage cuts
Vec_IntClear
(
p
->
vTemp
);
Vec_IntClear
(
p
->
vTemp
);
Vec_IntPush
(
p
->
vTemp
,
c
);
Vec_IntPush
(
p
->
vTemp
,
c
);
...
...
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