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
efb8ad0a
Commit
efb8ad0a
authored
Nov 08, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extending and improving timing manager.
parent
7f65f0d7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
8 deletions
+16
-8
src/map/mio/mio.h
+2
-0
src/map/scl/sclCon.h
+7
-4
src/opt/sfm/sfmDec.c
+5
-3
src/opt/sfm/sfmInt.h
+2
-1
src/opt/sfm/sfmMit.c
+0
-0
No files found.
src/map/mio/mio.h
View file @
efb8ad0a
...
...
@@ -151,9 +151,11 @@ extern char * Mio_GateReadSop ( Mio_Gate_t * pGate );
extern
Vec_Int_t
*
Mio_GateReadExpr
(
Mio_Gate_t
*
pGate
);
extern
word
Mio_GateReadTruth
(
Mio_Gate_t
*
pGate
);
extern
int
Mio_GateReadValue
(
Mio_Gate_t
*
pGate
);
extern
int
Mio_GateReadCell
(
Mio_Gate_t
*
pGate
);
extern
char
*
Mio_GateReadPinName
(
Mio_Gate_t
*
pGate
,
int
iPin
);
extern
float
Mio_GateReadPinDelay
(
Mio_Gate_t
*
pGate
,
int
iPin
);
extern
void
Mio_GateSetValue
(
Mio_Gate_t
*
pGate
,
int
Value
);
extern
void
Mio_GateSetCell
(
Mio_Gate_t
*
pGate
,
int
Cell
);
extern
int
Mio_GateIsInv
(
Mio_Gate_t
*
pGate
);
extern
char
*
Mio_PinReadName
(
Mio_Pin_t
*
pPin
);
extern
Mio_PinPhase_t
Mio_PinReadPhase
(
Mio_Pin_t
*
pPin
);
...
...
src/map/scl/sclCon.h
View file @
efb8ad0a
...
...
@@ -18,6 +18,9 @@
***********************************************************************/
#ifndef ABC__scl_Con__h
#define ABC__scl_Con__h
ABC_NAMESPACE_HEADER_START
////////////////////////////////////////////////////////////////////////
...
...
@@ -279,11 +282,11 @@ static inline float Scl_ConGetOutReqFloat( int i ) { return Scl_Wrd2Flt( Scl_
static
inline
float
Scl_ConGetOutLoadFloat
(
int
i
)
{
return
Scl_Wrd2Flt
(
Scl_ConGetOutLoad
(
i
)
);
}
ABC_NAMESPACE_HEADER_END
#endif
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
ABC_NAMESPACE_HEADER_END
src/opt/sfm/sfmDec.c
View file @
efb8ad0a
...
...
@@ -25,6 +25,8 @@
#include "misc/util/utilTruth.h"
#include "opt/dau/dau.h"
#include "map/mio/exp.h"
#include "map/scl/sclCon.h"
#include "base/main/main.h"
ABC_NAMESPACE_IMPL_START
...
...
@@ -212,10 +214,10 @@ p->timeLib = Abc_Clock();
p
->
timeLib
=
Abc_Clock
()
-
p
->
timeLib
;
if
(
!
pPars
->
fArea
)
{
if
(
p
->
pMit
)
p
->
pMit
=
Sfm_MitStart
(
pLib
,
NULL
,
pNtk
,
p
->
DeltaCrit
);
if
(
Abc_FrameReadLibScl
()
)
p
->
pMit
=
Sfm_MitStart
(
pLib
,
(
SC_Lib
*
)
Abc_FrameReadLibScl
(),
Scl_ConReadMan
()
,
pNtk
,
p
->
DeltaCrit
);
else
p
->
pTim
=
Sfm_TimStart
(
pLib
,
NULL
,
pNtk
,
p
->
DeltaCrit
);
p
->
pTim
=
Sfm_TimStart
(
pLib
,
Scl_ConReadMan
()
,
pNtk
,
p
->
DeltaCrit
);
}
if
(
pPars
->
fVeryVerbose
)
// if ( pPars->fVerbose )
...
...
src/opt/sfm/sfmInt.h
View file @
efb8ad0a
...
...
@@ -34,6 +34,7 @@
#include "misc/vec/vec.h"
#include "sat/bsat/satSolver.h"
#include "misc/util/utilNam.h"
#include "map/scl/sclLib.h"
#include "map/scl/sclCon.h"
#include "misc/st/st.h"
#include "map/mio/mio.h"
...
...
@@ -226,7 +227,7 @@ extern int Sfm_TimPriorityNodes( Sfm_Tim_t * p, Vec_Int_t * vCands, int
extern
int
Sfm_TimNodeIsNonCritical
(
Sfm_Tim_t
*
p
,
Abc_Obj_t
*
pPivot
,
Abc_Obj_t
*
pNode
);
extern
int
Sfm_TimEvalRemapping
(
Sfm_Tim_t
*
p
,
Vec_Int_t
*
vFanins
,
Vec_Int_t
*
vMap
,
Mio_Gate_t
*
pGate1
,
char
*
pFans1
,
Mio_Gate_t
*
pGate2
,
char
*
pFans2
);
/*=== sfmMit.c ==========================================================*/
extern
Sfm_Mit_t
*
Sfm_MitStart
(
Mio_Library_t
*
pLib
,
Scl_Con_t
*
pExt
,
Abc_Ntk_t
*
pNtk
,
int
DeltaCrit
);
extern
Sfm_Mit_t
*
Sfm_MitStart
(
Mio_Library_t
*
pLib
,
S
C_Lib
*
pScl
,
S
cl_Con_t
*
pExt
,
Abc_Ntk_t
*
pNtk
,
int
DeltaCrit
);
extern
void
Sfm_MitStop
(
Sfm_Mit_t
*
p
);
extern
int
Sfm_MitReadNtkDelay
(
Sfm_Mit_t
*
p
);
extern
int
Sfm_MitReadObjDelay
(
Sfm_Mit_t
*
p
,
int
iObj
);
...
...
src/opt/sfm/sfmMit.c
View file @
efb8ad0a
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