diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2016-12-25 15:58:54 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2016-12-25 15:58:54 +0700 |
commit | ac3216cf238dab066b12ddb1eac57c6682e34d2b (patch) | |
tree | 6ac7aaebd51973b2d17c0f1a6b9c032512b573a8 /src/opt/sbd/sbdInt.h | |
parent | b9dfb992c78e3c8786dee303e4a9994d46b6990a (diff) | |
download | abc-ac3216cf238dab066b12ddb1eac57c6682e34d2b.tar.gz abc-ac3216cf238dab066b12ddb1eac57c6682e34d2b.tar.bz2 abc-ac3216cf238dab066b12ddb1eac57c6682e34d2b.zip |
Updates to delay optimization project.
Diffstat (limited to 'src/opt/sbd/sbdInt.h')
-rw-r--r-- | src/opt/sbd/sbdInt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/opt/sbd/sbdInt.h b/src/opt/sbd/sbdInt.h index 4c553fb4..3646c6b9 100644 --- a/src/opt/sbd/sbdInt.h +++ b/src/opt/sbd/sbdInt.h @@ -52,10 +52,21 @@ ABC_NAMESPACE_HEADER_START #define SBD_SAT_UNDEC 0x1234567812345678 #define SBD_SAT_SAT 0x8765432187654321 +#define SBD_LUTS_MAX 2 +#define SBD_SIZE_MAX 4 +#define SBD_DIV_MAX 7 + //////////////////////////////////////////////////////////////////////// /// BASIC TYPES /// //////////////////////////////////////////////////////////////////////// +typedef struct Sbd_Str_t_ Sbd_Str_t; +struct Sbd_Str_t_ +{ + int fLut; // LUT or SEL + int nVarIns; // input count + int VarIns[SBD_DIV_MAX]; // input vars +}; //////////////////////////////////////////////////////////////////////// /// MACRO DEFINITIONS /// |