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
bee10744
Commit
bee10744
authored
Sep 12, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to the new technology mapper.
parent
7312ff3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/aig/gia/giaJf.c
+6
-1
No files found.
src/aig/gia/giaJf.c
View file @
bee10744
...
@@ -190,7 +190,7 @@ void Jf_ManProfileClasses( Jf_Man_t * p )
...
@@ -190,7 +190,7 @@ void Jf_ManProfileClasses( Jf_Man_t * p )
Gia_Obj_t
*
pObj
;
Gia_Obj_t
*
pObj
;
int
Counts
[
595
]
=
{
0
},
Costs
[
595
]
=
{
0
};
int
Counts
[
595
]
=
{
0
},
Costs
[
595
]
=
{
0
};
int
i
,
iFunc
,
Total
=
0
,
CostTotal
=
0
,
Other
=
0
,
CostOther
=
0
;
int
i
,
iFunc
,
Total
=
0
,
CostTotal
=
0
,
Other
=
0
,
CostOther
=
0
;
printf
(
"DSD classes that appear in more than %.1f %% mapped nodes:
\n
"
,
0
.
1
*
p
->
pPars
->
nVerbLimit
);
printf
(
"DSD classes that appear in more than %.1f %%
of
mapped nodes:
\n
"
,
0
.
1
*
p
->
pPars
->
nVerbLimit
);
Gia_ManForEachAnd
(
p
->
pGia
,
pObj
,
i
)
Gia_ManForEachAnd
(
p
->
pGia
,
pObj
,
i
)
if
(
!
Gia_ObjIsBuf
(
pObj
)
&&
Gia_ObjRefNumId
(
p
->
pGia
,
i
)
)
if
(
!
Gia_ObjIsBuf
(
pObj
)
&&
Gia_ObjRefNumId
(
p
->
pGia
,
i
)
)
{
{
...
@@ -1034,6 +1034,8 @@ void Jf_ObjComputeCuts( Jf_Man_t * p, Gia_Obj_t * pObj, int fEdge )
...
@@ -1034,6 +1034,8 @@ void Jf_ObjComputeCuts( Jf_Man_t * p, Gia_Obj_t * pObj, int fEdge )
pSto
[
c
]
->
iFunc
=
Sdm_ManComputeFunc
(
p
->
pDsd
,
Jf_ObjFunc0
(
pObj
,
pCut0
),
Jf_ObjFunc1
(
pObj
,
pCut1
),
pSto
[
c
]
->
pCut
,
Config
,
0
);
pSto
[
c
]
->
iFunc
=
Sdm_ManComputeFunc
(
p
->
pDsd
,
Jf_ObjFunc0
(
pObj
,
pCut0
),
Jf_ObjFunc1
(
pObj
,
pCut1
),
pSto
[
c
]
->
pCut
,
Config
,
0
);
if
(
pSto
[
c
]
->
iFunc
==
-
1
)
if
(
pSto
[
c
]
->
iFunc
==
-
1
)
continue
;
continue
;
if
(
p
->
pPars
->
fGenCnf
&&
Jf_CutCnfSizeF
(
p
,
Abc_Lit2Var
(
pSto
[
c
]
->
iFunc
))
>=
12
)
continue
;
assert
(
pSto
[
c
]
->
pCut
[
0
]
<=
nOldSupp
);
assert
(
pSto
[
c
]
->
pCut
[
0
]
<=
nOldSupp
);
if
(
pSto
[
c
]
->
pCut
[
0
]
<
nOldSupp
)
if
(
pSto
[
c
]
->
pCut
[
0
]
<
nOldSupp
)
pSto
[
c
]
->
Sign
=
Jf_CutGetSign
(
pSto
[
c
]
->
pCut
);
pSto
[
c
]
->
Sign
=
Jf_CutGetSign
(
pSto
[
c
]
->
pCut
);
...
@@ -1439,7 +1441,10 @@ Gia_Man_t * Jf_ManPerformMapping( Gia_Man_t * pGia, Jf_Par_t * pPars )
...
@@ -1439,7 +1441,10 @@ Gia_Man_t * Jf_ManPerformMapping( Gia_Man_t * pGia, Jf_Par_t * pPars )
Jf_ManComputeRefs
(
p
);
Jf_ManPrintStats
(
p
,
"Start"
);
Jf_ManComputeRefs
(
p
);
Jf_ManPrintStats
(
p
,
"Start"
);
for
(
i
=
0
;
i
<
pPars
->
nRounds
;
i
++
)
for
(
i
=
0
;
i
<
pPars
->
nRounds
;
i
++
)
{
{
if
(
!
p
->
pPars
->
fGenCnf
)
{
Jf_ManPropagateFlow
(
p
,
pPars
->
fOptEdge
);
Jf_ManPrintStats
(
p
,
"Flow "
);
Jf_ManPropagateFlow
(
p
,
pPars
->
fOptEdge
);
Jf_ManPrintStats
(
p
,
"Flow "
);
}
Jf_ManPropagateEla
(
p
,
0
);
Jf_ManPrintStats
(
p
,
"Area "
);
Jf_ManPropagateEla
(
p
,
0
);
Jf_ManPrintStats
(
p
,
"Area "
);
Jf_ManPropagateEla
(
p
,
1
);
Jf_ManPrintStats
(
p
,
"Edge "
);
Jf_ManPropagateEla
(
p
,
1
);
Jf_ManPrintStats
(
p
,
"Edge "
);
}
}
...
...
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