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
0deb8bf6
Commit
0deb8bf6
authored
Aug 12, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suggested changes to collect and pass timing information (compiler issues).
parent
e8ac4764
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
abclib.dsp
+1
-1
src/base/abci/abcTiming.c
+5
-7
No files found.
abclib.dsp
View file @
0deb8bf6
...
...
@@ -5103,7 +5103,7 @@ SOURCE=.\src\aig\gia\giaResub2.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\gia\giaResub3.c
SOURCE=.\src\aig\gia\giaResub3
_new5
.c
# End Source File
# Begin Source File
...
...
src/base/abci/abcTiming.c
View file @
0deb8bf6
...
...
@@ -209,10 +209,10 @@ void Abc_NtkTimeSetDefaultRequired( Abc_Ntk_t * pNtk, float Rise, float Fall )
***********************************************************************/
void
Abc_NtkTimeSetArrival
(
Abc_Ntk_t
*
pNtk
,
int
ObjId
,
float
Rise
,
float
Fall
)
{
static
int
debug
;
debug
++
;
Vec_Ptr_t
*
vTimes
;
Abc_Time_t
*
pTime
;
static
int
debug
;
debug
++
;
if
(
pNtk
->
pManTime
==
NULL
)
pNtk
->
pManTime
=
Abc_ManTimeStart
(
pNtk
);
Abc_ManTimeExpand
(
pNtk
->
pManTime
,
ObjId
+
1
,
1
);
...
...
@@ -227,9 +227,10 @@ void Abc_NtkTimeSetArrival( Abc_Ntk_t * pNtk, int ObjId, float Rise, float Fall
}
void
Abc_NtkTimeSetRequired
(
Abc_Ntk_t
*
pNtk
,
int
ObjId
,
float
Rise
,
float
Fall
)
{
Vec_Ptr_t
*
vTimes
;
Abc_Time_t
*
pTime
;
static
int
debug
;
debug
++
;
if
(
pNtk
->
pManTime
==
NULL
)
pNtk
->
pManTime
=
Abc_ManTimeStart
(
pNtk
);
Abc_ManTimeExpand
(
pNtk
->
pManTime
,
ObjId
+
1
,
1
);
...
...
@@ -238,8 +239,6 @@ void Abc_NtkTimeSetRequired( Abc_Ntk_t * pNtk, int ObjId, float Rise, float Fall
pTime
=
(
Abc_Time_t
*
)
vTimes
->
pArray
[
ObjId
];
pTime
->
Rise
=
Rise
;
pTime
->
Fall
=
Fall
;
static
int
debug
;
debug
++
;
// printf("Debug:%d Setting required time on object %d to R %f and F %f\n",debug,
// ObjId, Rise, Fall);
}
...
...
@@ -488,6 +487,7 @@ Abc_ManTime_t * Abc_ManTimeStart( Abc_Ntk_t * pNtk )
{
int
fUseZeroDefaultOutputRequired
=
1
;
Abc_ManTime_t
*
p
;
Abc_Time_t
*
pTime
;
Abc_Obj_t
*
pObj
;
int
i
;
p
=
pNtk
->
pManTime
=
ABC_ALLOC
(
Abc_ManTime_t
,
1
);
memset
(
p
,
0
,
sizeof
(
Abc_ManTime_t
)
);
...
...
@@ -501,8 +501,6 @@ Abc_ManTime_t * Abc_ManTimeStart( Abc_Ntk_t * pNtk )
// p->tReqDef.Rise = fUseZeroDefaultOutputRequired ? 0 : ABC_INFINITY;
// p->tReqDef.Fall = fUseZeroDefaultOutputRequired ? 0 : ABC_INFINITY;
Abc_Time_t
*
pTime
;
// extend manager
Abc_ManTimeExpand
(
p
,
Abc_NtkObjNumMax
(
pNtk
)
+
1
,
0
);
// set the default timing for CIs
...
...
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