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
05fbf4bd
Commit
05fbf4bd
authored
Feb 06, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing assertion failure when all POs have constant functions.
parent
48912a22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
src/map/scl/sclSize.c
+3
-0
src/map/scl/sclUpsize.c
+1
-1
No files found.
src/map/scl/sclSize.c
View file @
05fbf4bd
...
...
@@ -50,12 +50,15 @@ Abc_Obj_t * Abc_SclFindCriticalCo( SC_Man * p, int * pfRise )
Abc_Obj_t
*
pObj
,
*
pPivot
=
NULL
;
float
fMaxArr
=
0
;
int
i
;
assert
(
Abc_NtkPoNum
(
p
->
pNtk
)
>
0
);
Abc_NtkForEachCo
(
p
->
pNtk
,
pObj
,
i
)
{
SC_Pair
*
pArr
=
Abc_SclObjTime
(
p
,
pObj
);
if
(
fMaxArr
<
pArr
->
rise
)
fMaxArr
=
pArr
->
rise
,
*
pfRise
=
1
,
pPivot
=
pObj
;
if
(
fMaxArr
<
pArr
->
fall
)
fMaxArr
=
pArr
->
fall
,
*
pfRise
=
0
,
pPivot
=
pObj
;
}
if
(
fMaxArr
==
0
)
pPivot
=
Abc_NtkPo
(
p
->
pNtk
,
0
);
assert
(
pPivot
!=
NULL
);
return
pPivot
;
}
...
...
src/map/scl/sclUpsize.c
View file @
05fbf4bd
...
...
@@ -898,7 +898,7 @@ void Abc_SclUpsizePerform( SC_Lib * pLib, Abc_Ntk_t * pNtk, SC_SizePars * pPars
// perform upsizing
nAllPos
=
nAllNodes
=
nAllTfos
=
nAllUpsizes
=
0
;
if
(
p
->
BestDelay
<=
pPars
->
DelayUser
)
printf
(
"Current delay (%.2f ps)
is better than the target delay (%.2f ps)
.
\n
"
,
p
->
BestDelay
,
(
float
)
pPars
->
DelayUser
);
printf
(
"Current delay (%.2f ps)
does not exceed the target delay (%.2f ps). Upsizing is not performed
.
\n
"
,
p
->
BestDelay
,
(
float
)
pPars
->
DelayUser
);
else
for
(
i
=
0
;
i
<
pPars
->
nIters
;
i
++
)
{
...
...
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