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
a7b244c5
Commit
a7b244c5
authored
Aug 01, 2016
by
Mathias Soeken
Browse files
Options
Browse Files
Download
Plain Diff
Merged alanmi/abc into default
parents
a4f8e601
fd8eb8c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/base/abci/abcExact.c
+1
-1
src/map/if/ifMap.c
+3
-3
No files found.
src/base/abci/abcExact.c
View file @
a7b244c5
...
@@ -1342,7 +1342,7 @@ int Abc_ExactInputNum()
...
@@ -1342,7 +1342,7 @@ int Abc_ExactInputNum()
// this procedure takes TT and input arrival times (pArrTimeProfile) and return the smallest output arrival time;
// this procedure takes TT and input arrival times (pArrTimeProfile) and return the smallest output arrival time;
// it also returns the pin-to-pin delays (pPerm) between each cut leaf and the cut output and the cut area cost (Cost)
// it also returns the pin-to-pin delays (pPerm) between each cut leaf and the cut output and the cut area cost (Cost)
// the area cost should not exceed 2048, if the cut is implementable; otherwise, it should be ABC_INFINITY
// the area cost should not exceed 2048, if the cut is implementable; otherwise, it should be ABC_INFINITY
int
Abc_ExactDelayCost
(
word
*
pTruth
,
int
nVars
,
int
*
pArrTimeProfile
,
char
*
pPerm
,
int
*
Cost
)
int
Abc_ExactDelayCost
(
word
*
pTruth
,
int
nVars
,
int
*
pArrTimeProfile
,
char
*
pPerm
,
int
*
Cost
,
int
AigLevel
)
{
{
int
l
;
int
l
;
Ses_Man_t
*
pSes
;
Ses_Man_t
*
pSes
;
...
...
src/map/if/ifMap.c
View file @
a7b244c5
...
@@ -29,7 +29,7 @@ ABC_NAMESPACE_IMPL_START
...
@@ -29,7 +29,7 @@ ABC_NAMESPACE_IMPL_START
extern
char
*
Dau_DsdMerge
(
char
*
pDsd0i
,
int
*
pPerm0
,
char
*
pDsd1i
,
int
*
pPerm1
,
int
fCompl0
,
int
fCompl1
,
int
nVars
);
extern
char
*
Dau_DsdMerge
(
char
*
pDsd0i
,
int
*
pPerm0
,
char
*
pDsd1i
,
int
*
pPerm1
,
int
fCompl0
,
int
fCompl1
,
int
nVars
);
extern
int
If_CutDelayRecCost3
(
If_Man_t
*
p
,
If_Cut_t
*
pCut
,
If_Obj_t
*
pObj
);
extern
int
If_CutDelayRecCost3
(
If_Man_t
*
p
,
If_Cut_t
*
pCut
,
If_Obj_t
*
pObj
);
extern
int
Abc_ExactDelayCost
(
word
*
pTruth
,
int
nVars
,
int
*
pArrTimeProfile
,
char
*
pPerm
,
int
*
Cost
);
extern
int
Abc_ExactDelayCost
(
word
*
pTruth
,
int
nVars
,
int
*
pArrTimeProfile
,
char
*
pPerm
,
int
*
Cost
,
int
AigLevel
);
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
/// FUNCTION DEFINITIONS ///
...
@@ -152,7 +152,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
...
@@ -152,7 +152,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
{
{
int
Cost
=
0
;
int
Cost
=
0
;
pCut
->
fUser
=
1
;
pCut
->
fUser
=
1
;
pCut
->
Delay
=
(
float
)
Abc_ExactDelayCost
(
If_CutTruthW
(
p
,
pCut
),
If_CutLeaveNum
(
pCut
),
If_CutArrTimeProfile
(
p
,
pCut
),
If_CutPerm
(
pCut
),
&
Cost
);
pCut
->
Delay
=
(
float
)
Abc_ExactDelayCost
(
If_CutTruthW
(
p
,
pCut
),
If_CutLeaveNum
(
pCut
),
If_CutArrTimeProfile
(
p
,
pCut
),
If_CutPerm
(
pCut
),
&
Cost
,
(
int
)
pObj
->
Level
);
if
(
Cost
==
ABC_INFINITY
)
if
(
Cost
==
ABC_INFINITY
)
{
{
for
(
v
=
0
;
v
<
If_CutLeaveNum
(
pCut
);
v
++
)
for
(
v
=
0
;
v
<
If_CutLeaveNum
(
pCut
);
v
++
)
...
@@ -376,7 +376,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
...
@@ -376,7 +376,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
{
{
int
Cost
=
0
;
int
Cost
=
0
;
pCut
->
fUser
=
1
;
pCut
->
fUser
=
1
;
pCut
->
Delay
=
(
float
)
Abc_ExactDelayCost
(
If_CutTruthW
(
p
,
pCut
),
If_CutLeaveNum
(
pCut
),
If_CutArrTimeProfile
(
p
,
pCut
),
If_CutPerm
(
pCut
),
&
Cost
);
pCut
->
Delay
=
(
float
)
Abc_ExactDelayCost
(
If_CutTruthW
(
p
,
pCut
),
If_CutLeaveNum
(
pCut
),
If_CutArrTimeProfile
(
p
,
pCut
),
If_CutPerm
(
pCut
),
&
Cost
,
(
int
)
pObj
->
Level
);
if
(
Cost
==
ABC_INFINITY
)
if
(
Cost
==
ABC_INFINITY
)
{
{
for
(
v
=
0
;
v
<
If_CutLeaveNum
(
pCut
);
v
++
)
for
(
v
=
0
;
v
<
If_CutLeaveNum
(
pCut
);
v
++
)
...
...
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