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
85b33df1
Commit
85b33df1
authored
Apr 05, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements in reading timing information from BLIF.
parent
6a0566d2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
26 deletions
+128
-26
src/base/abci/abcTiming.c
+1
-8
src/base/io/ioReadBlif.c
+127
-18
No files found.
src/base/abci/abcTiming.c
View file @
85b33df1
...
@@ -337,7 +337,7 @@ void Abc_NtkTimeSetOutputLoad( Abc_Ntk_t * pNtk, int PoNum, float Rise, float Fa
...
@@ -337,7 +337,7 @@ void Abc_NtkTimeSetOutputLoad( Abc_Ntk_t * pNtk, int PoNum, float Rise, float Fa
void
Abc_NtkTimeInitialize
(
Abc_Ntk_t
*
pNtk
,
Abc_Ntk_t
*
pNtkOld
)
void
Abc_NtkTimeInitialize
(
Abc_Ntk_t
*
pNtk
,
Abc_Ntk_t
*
pNtkOld
)
{
{
Abc_Obj_t
*
pObj
;
Abc_Obj_t
*
pObj
;
Abc_Time_t
**
ppTimes
,
*
pTime
;
Abc_Time_t
**
ppTimes
;
int
i
;
int
i
;
assert
(
pNtkOld
==
NULL
||
pNtkOld
->
pManTime
!=
NULL
);
assert
(
pNtkOld
==
NULL
||
pNtkOld
->
pManTime
!=
NULL
);
assert
(
pNtkOld
==
NULL
||
Abc_NtkCiNum
(
pNtk
)
==
Abc_NtkCiNum
(
pNtkOld
)
);
assert
(
pNtkOld
==
NULL
||
Abc_NtkCiNum
(
pNtk
)
==
Abc_NtkCiNum
(
pNtkOld
)
);
...
@@ -360,13 +360,6 @@ void Abc_NtkTimeInitialize( Abc_Ntk_t * pNtk, Abc_Ntk_t * pNtkOld )
...
@@ -360,13 +360,6 @@ void Abc_NtkTimeInitialize( Abc_Ntk_t * pNtk, Abc_Ntk_t * pNtkOld )
ppTimes
=
(
Abc_Time_t
**
)
pNtk
->
pManTime
->
vReqs
->
pArray
;
ppTimes
=
(
Abc_Time_t
**
)
pNtk
->
pManTime
->
vReqs
->
pArray
;
Abc_NtkForEachCo
(
pNtk
,
pObj
,
i
)
Abc_NtkForEachCo
(
pNtk
,
pObj
,
i
)
*
ppTimes
[
pObj
->
Id
]
=
pNtkOld
?
*
Abc_NodeReadRequired
(
Abc_NtkCo
(
pNtkOld
,
i
))
:
pNtk
->
pManTime
->
tReqDef
;
*
ppTimes
[
pObj
->
Id
]
=
pNtkOld
?
*
Abc_NodeReadRequired
(
Abc_NtkCo
(
pNtkOld
,
i
))
:
pNtk
->
pManTime
->
tReqDef
;
// set the 0 arrival times for latch outputs and constant nodes
ppTimes
=
(
Abc_Time_t
**
)
pNtk
->
pManTime
->
vArrs
->
pArray
;
Abc_NtkForEachLatchOutput
(
pNtk
,
pObj
,
i
)
{
pTime
=
ppTimes
[
pObj
->
Id
];
pTime
->
Fall
=
pTime
->
Rise
=
0
.
0
;
}
}
}
/**Function*************************************************************
/**Function*************************************************************
...
...
src/base/io/ioReadBlif.c
View file @
85b33df1
This diff is collapsed.
Click to expand it.
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