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
9e384d5c
Commit
9e384d5c
authored
Jul 19, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to the printout in timing analysis.
parent
21d7938a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
src/map/mio/mioParse.c
+1
-1
src/map/scl/sclTime.c
+2
-2
src/map/scl/sclUpsize.c
+2
-0
No files found.
src/map/mio/mioParse.c
View file @
9e384d5c
...
@@ -484,7 +484,7 @@ int Mio_ParseCheckFormula( Mio_Gate_t * pGate, char * pForm )
...
@@ -484,7 +484,7 @@ int Mio_ParseCheckFormula( Mio_Gate_t * pGate, char * pForm )
for
(
pPin
=
Mio_GateReadPins
(
pGate
),
i
=
0
;
pPin
;
pPin
=
Mio_PinReadNext
(
pPin
),
i
++
)
for
(
pPin
=
Mio_GateReadPins
(
pGate
),
i
=
0
;
pPin
;
pPin
=
Mio_PinReadNext
(
pPin
),
i
++
)
if
(
fVisit
[
i
]
==
0
)
if
(
fVisit
[
i
]
==
0
)
{
{
printf
(
"Skipping gate
\"
%s
\"
because pin
\"
%s
\"
does not appear in the formula
\"
%s
\"
.
\n
"
,
pGate
->
pName
,
Mio_PinReadName
(
pPin
),
pForm
);
//
printf( "Skipping gate \"%s\" because pin \"%s\" does not appear in the formula \"%s\".\n", pGate->pName, Mio_PinReadName(pPin), pForm );
return
0
;
return
0
;
}
}
return
1
;
return
1
;
...
...
src/map/scl/sclTime.c
View file @
9e384d5c
...
@@ -109,7 +109,7 @@ static inline void Abc_SclTimeNodePrint( SC_Man * p, Abc_Obj_t * pObj, int fRise
...
@@ -109,7 +109,7 @@ static inline void Abc_SclTimeNodePrint( SC_Man * p, Abc_Obj_t * pObj, int fRise
{
{
printf
(
"%7d : "
,
Abc_ObjId
(
pObj
)
);
printf
(
"%7d : "
,
Abc_ObjId
(
pObj
)
);
printf
(
"%d "
,
Abc_ObjFaninNum
(
pObj
)
);
printf
(
"%d "
,
Abc_ObjFaninNum
(
pObj
)
);
printf
(
"%
d "
,
Abc_ObjFanoutNum
(
pObj
)
);
printf
(
"%
2d "
,
Abc_ObjFanoutNum
(
pObj
)
);
printf
(
"%-*s "
,
Length
,
Abc_SclObjCell
(
p
,
pObj
)
->
pName
);
printf
(
"%-*s "
,
Length
,
Abc_SclObjCell
(
p
,
pObj
)
->
pName
);
if
(
fRise
>=
0
)
if
(
fRise
>=
0
)
printf
(
"(%s) "
,
fRise
?
"rise"
:
"fall"
);
printf
(
"(%s) "
,
fRise
?
"rise"
:
"fall"
);
...
@@ -162,7 +162,7 @@ void Abc_SclTimeNtkPrint( SC_Man * p, int fShowAll, int fShort )
...
@@ -162,7 +162,7 @@ void Abc_SclTimeNtkPrint( SC_Man * p, int fShowAll, int fShort )
pObj
=
Abc_ObjFanin0
(
pPivot
);
pObj
=
Abc_ObjFanin0
(
pPivot
);
while
(
pObj
&&
Abc_ObjIsNode
(
pObj
)
)
while
(
pObj
&&
Abc_ObjIsNode
(
pObj
)
)
{
{
printf
(
"C-path %
2
d -- "
,
i
--
);
printf
(
"C-path %
3
d -- "
,
i
--
);
Abc_SclTimeNodePrint
(
p
,
pObj
,
fRise
,
nLength
,
maxDelay
);
Abc_SclTimeNodePrint
(
p
,
pObj
,
fRise
,
nLength
,
maxDelay
);
pObj
=
Abc_SclFindMostCriticalFanin
(
p
,
&
fRise
,
pObj
);
pObj
=
Abc_SclFindMostCriticalFanin
(
p
,
&
fRise
,
pObj
);
}
}
...
...
src/map/scl/sclUpsize.c
View file @
9e384d5c
...
@@ -572,6 +572,8 @@ void Abc_SclUpsizePerform( SC_Lib * pLib, Abc_Ntk_t * pNtk, SC_UpSizePars * pPar
...
@@ -572,6 +572,8 @@ void Abc_SclUpsizePerform( SC_Lib * pLib, Abc_Ntk_t * pNtk, SC_UpSizePars * pPar
Abc_SclTimeNtkRecompute
(
p
,
&
p
->
SumArea
,
&
p
->
MaxDelay
,
0
);
Abc_SclTimeNtkRecompute
(
p
,
&
p
->
SumArea
,
&
p
->
MaxDelay
,
0
);
if
(
pPars
->
fVerbose
)
if
(
pPars
->
fVerbose
)
Abc_SclUpsizePrint
(
p
,
i
,
pPars
->
Window
,
nAllPos
/
(
i
?
i
:
1
),
nAllNodes
/
(
i
?
i
:
1
),
nAllUpsizes
/
(
i
?
i
:
1
),
nAllTfos
/
(
i
?
i
:
1
),
1
);
Abc_SclUpsizePrint
(
p
,
i
,
pPars
->
Window
,
nAllPos
/
(
i
?
i
:
1
),
nAllNodes
/
(
i
?
i
:
1
),
nAllUpsizes
/
(
i
?
i
:
1
),
nAllTfos
/
(
i
?
i
:
1
),
1
);
else
printf
(
"
\r
"
);
// report runtime
// report runtime
p
->
timeTotal
=
Abc_Clock
()
-
p
->
timeTotal
;
p
->
timeTotal
=
Abc_Clock
()
-
p
->
timeTotal
;
if
(
pPars
->
fVerbose
)
if
(
pPars
->
fVerbose
)
...
...
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