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
8095c2d1
Commit
8095c2d1
authored
Mar 18, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for not propagating user timing correctly after &nf.
parent
fad6254c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
4 deletions
+39
-4
src/base/abci/abcTiming.c
+39
-4
No files found.
src/base/abci/abcTiming.c
View file @
8095c2d1
...
@@ -188,8 +188,8 @@ void Abc_NtkTimeSetArrival( Abc_Ntk_t * pNtk, int ObjId, float Rise, float Fall
...
@@ -188,8 +188,8 @@ void Abc_NtkTimeSetArrival( Abc_Ntk_t * pNtk, int ObjId, float Rise, float Fall
Abc_Time_t
*
pTime
;
Abc_Time_t
*
pTime
;
if
(
pNtk
->
pManTime
==
NULL
)
if
(
pNtk
->
pManTime
==
NULL
)
pNtk
->
pManTime
=
Abc_ManTimeStart
(
pNtk
);
pNtk
->
pManTime
=
Abc_ManTimeStart
(
pNtk
);
if
(
pNtk
->
pManTime
->
tArrDef
.
Rise
==
Rise
&&
pNtk
->
pManTime
->
tArrDef
.
Fall
==
Fall
)
//
if ( pNtk->pManTime->tArrDef.Rise == Rise && pNtk->pManTime->tArrDef.Fall == Fall )
return
;
//
return;
Abc_ManTimeExpand
(
pNtk
->
pManTime
,
ObjId
+
1
,
1
);
Abc_ManTimeExpand
(
pNtk
->
pManTime
,
ObjId
+
1
,
1
);
// set the arrival time
// set the arrival time
vTimes
=
pNtk
->
pManTime
->
vArrs
;
vTimes
=
pNtk
->
pManTime
->
vArrs
;
...
@@ -203,8 +203,8 @@ void Abc_NtkTimeSetRequired( Abc_Ntk_t * pNtk, int ObjId, float Rise, float Fall
...
@@ -203,8 +203,8 @@ void Abc_NtkTimeSetRequired( Abc_Ntk_t * pNtk, int ObjId, float Rise, float Fall
Abc_Time_t
*
pTime
;
Abc_Time_t
*
pTime
;
if
(
pNtk
->
pManTime
==
NULL
)
if
(
pNtk
->
pManTime
==
NULL
)
pNtk
->
pManTime
=
Abc_ManTimeStart
(
pNtk
);
pNtk
->
pManTime
=
Abc_ManTimeStart
(
pNtk
);
if
(
pNtk
->
pManTime
->
tReqDef
.
Rise
==
Rise
&&
pNtk
->
pManTime
->
tReqDef
.
Fall
==
Fall
)
//
if ( pNtk->pManTime->tReqDef.Rise == Rise && pNtk->pManTime->tReqDef.Fall == Fall )
return
;
//
return;
Abc_ManTimeExpand
(
pNtk
->
pManTime
,
ObjId
+
1
,
1
);
Abc_ManTimeExpand
(
pNtk
->
pManTime
,
ObjId
+
1
,
1
);
// set the required time
// set the required time
vTimes
=
pNtk
->
pManTime
->
vReqs
;
vTimes
=
pNtk
->
pManTime
->
vReqs
;
...
@@ -521,6 +521,41 @@ void Abc_ManTimeDup( Abc_Ntk_t * pNtkOld, Abc_Ntk_t * pNtkNew )
...
@@ -521,6 +521,41 @@ void Abc_ManTimeDup( Abc_Ntk_t * pNtkOld, Abc_Ntk_t * pNtkNew )
/**Function*************************************************************
/**Function*************************************************************
Synopsis [Prepares the timing manager for delay trace.]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Abc_NtkTimePrint
(
Abc_Ntk_t
*
pNtk
)
{
if
(
pNtk
->
pManTime
==
NULL
)
printf
(
"There is no timing manager
\n
"
);
else
{
Abc_Obj_t
*
pObj
;
int
i
;
printf
(
"Default arrival = %8f
\n
"
,
pNtk
->
pManTime
->
tArrDef
.
Fall
);
printf
(
"Default required = %8f
\n
"
,
pNtk
->
pManTime
->
tReqDef
.
Fall
);
printf
(
"Inputs (%d):
\n
"
,
Abc_NtkCiNum
(
pNtk
)
);
Abc_NtkForEachCi
(
pNtk
,
pObj
,
i
)
printf
(
"%20s arrival = %8f required = %8f
\n
"
,
Abc_ObjName
(
pObj
),
Abc_NodeReadArrivalWorst
(
pObj
),
Abc_NodeReadRequiredWorst
(
pObj
)
);
printf
(
"Outputs (%d):
\n
"
,
Abc_NtkCoNum
(
pNtk
)
);
Abc_NtkForEachCo
(
pNtk
,
pObj
,
i
)
printf
(
"%20s arrival = %8f required = %8f
\n
"
,
Abc_ObjName
(
pObj
),
Abc_NodeReadArrivalWorst
(
pObj
),
Abc_NodeReadRequiredWorst
(
pObj
)
);
}
}
/**Function*************************************************************
Synopsis [Expends the storage for timing information.]
Synopsis [Expends the storage for timing information.]
Description []
Description []
...
...
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