diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-09-16 16:44:51 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-09-16 16:44:51 -0700 |
commit | 6d0b555dabe44d5b6eb428e05fea673395602b65 (patch) | |
tree | 37d21f5ebdaf27b1d1b83c3307ed09341d47b346 /src/map/scl/sclLib.h | |
parent | 288d64d033516f992b7c07620e43ee6fbbf9e26a (diff) | |
download | abc-6d0b555dabe44d5b6eb428e05fea673395602b65.tar.gz abc-6d0b555dabe44d5b6eb428e05fea673395602b65.tar.bz2 abc-6d0b555dabe44d5b6eb428e05fea673395602b65.zip |
Support for leakage power in Liberty parser and sizer.
Diffstat (limited to 'src/map/scl/sclLib.h')
-rw-r--r-- | src/map/scl/sclLib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/scl/sclLib.h b/src/map/scl/sclLib.h index e7c70e51..09242d01 100644 --- a/src/map/scl/sclLib.h +++ b/src/map/scl/sclLib.h @@ -40,7 +40,7 @@ ABC_NAMESPACE_HEADER_START /// PARAMETERS /// //////////////////////////////////////////////////////////////////////// -#define ABC_SCL_CUR_VERSION 7 +#define ABC_SCL_CUR_VERSION 8 typedef enum { @@ -186,6 +186,7 @@ struct SC_Cell_ int seq; // -- set to TRUE by parser if a sequential element int unsupp; // -- set to TRUE by parser if cell contains information we cannot handle float area; + float leakage; int drive_strength; // -- some library files provide this field (currently unused, but may be a good hint for sizing) (not used) Vec_Ptr_t * vPins; // NamedSet<SC_Pin> int n_inputs; // -- 'pins[0 .. n_inputs-1]' are input pins @@ -616,6 +617,7 @@ extern int Abc_SclClassCellNum( SC_Cell * pClass ); extern int Abc_SclLibClassNum( SC_Lib * pLib ); extern void Abc_SclLinkCells( SC_Lib * p ); extern void Abc_SclPrintCells( SC_Lib * p, float Slew, float Gain, int fInvOnly, int fShort ); +extern void Abc_SclConvertLeakageIntoArea( SC_Lib * p, float A, float B ); extern void Abc_SclLibNormalize( SC_Lib * p ); extern SC_Cell * Abc_SclFindInvertor( SC_Lib * p, int fFindBuff ); extern SC_Cell * Abc_SclFindSmallestGate( SC_Cell * p, float CinMin ); |