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
b9913732
Commit
b9913732
authored
Apr 09, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improving printouts of critical path.
parent
0509440a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/base/abci/abcTiming.c
+2
-5
No files found.
src/base/abci/abcTiming.c
View file @
b9913732
...
@@ -893,7 +893,7 @@ float Abc_NtkDelayTrace( Abc_Ntk_t * pNtk, Abc_Obj_t * pOut, Abc_Obj_t * pIn, in
...
@@ -893,7 +893,7 @@ float Abc_NtkDelayTrace( Abc_Ntk_t * pNtk, Abc_Obj_t * pOut, Abc_Obj_t * pIn, in
int
k
,
iFanin
,
Length
=
0
;
int
k
,
iFanin
,
Length
=
0
;
Abc_Obj_t
*
pFanin
;
Abc_Obj_t
*
pFanin
;
// check the additional slack
// check the additional slack
SlackAdd
=
Abc_
MaxFloat
(
0
.
0
,
Abc_NodeRequired
(
pOut
)
->
Worst
-
Abc_NodeArrival
(
Abc_ObjFanin0
(
pOut
))
->
Worst
)
;
SlackAdd
=
Abc_
NodeRequired
(
pOut
)
->
Worst
-
Abc_NodeArrival
(
Abc_ObjFanin0
(
pOut
))
->
Worst
;
// collect the critical path
// collect the critical path
Abc_NtkDelayTraceCritPathCollect_rec
(
vSlacks
,
Abc_ObjFanin0
(
pOut
),
vBest
,
vPath
);
Abc_NtkDelayTraceCritPathCollect_rec
(
vSlacks
,
Abc_ObjFanin0
(
pOut
),
vBest
,
vPath
);
if
(
pIn
==
NULL
)
if
(
pIn
==
NULL
)
...
@@ -941,11 +941,8 @@ float Abc_NtkDelayTrace( Abc_Ntk_t * pNtk, Abc_Obj_t * pOut, Abc_Obj_t * pIn, in
...
@@ -941,11 +941,8 @@ float Abc_NtkDelayTrace( Abc_Ntk_t * pNtk, Abc_Obj_t * pOut, Abc_Obj_t * pIn, in
}
}
printf
(
"Level %3d : "
,
Abc_ObjLevel
(
Abc_ObjFanin0
(
pOut
))
+
1
);
printf
(
"Level %3d : "
,
Abc_ObjLevel
(
Abc_ObjFanin0
(
pOut
))
+
1
);
printf
(
"Primary output
\"
%s
\"
. "
,
Abc_ObjName
(
pOut
)
);
printf
(
"Primary output
\"
%s
\"
. "
,
Abc_ObjName
(
pOut
)
);
if
(
Abc_NodeRequired
(
pOut
)
->
Worst
-
Abc_NodeArrival
(
Abc_ObjFanin0
(
pOut
))
->
Worst
<=
0
.
0
)
printf
(
"Required time = %6.1f. "
,
Abc_NodeReadArrival
(
Abc_ObjFanin0
(
pOut
))
->
Worst
);
else
printf
(
"Required time = %6.1f. "
,
Abc_NodeRequired
(
pOut
)
->
Worst
);
printf
(
"Required time = %6.1f. "
,
Abc_NodeRequired
(
pOut
)
->
Worst
);
printf
(
"Path slack = %6.1f.
\n
"
,
Slack
);
printf
(
"Path slack = %6.1f.
\n
"
,
Slack
Add
);
}
}
Vec_PtrFree
(
vPath
);
Vec_PtrFree
(
vPath
);
Vec_IntFree
(
vBest
);
Vec_IntFree
(
vBest
);
...
...
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