OpenASIP
2.0
|
#include <CostDBTypes.hh>
Public Types | |
enum | TypeOfMatch { MATCH_ALL, MATCH_EXACT, MATCH_SUBSET, MATCH_SUPERSET, MATCH_INTERPOLATION } |
typedef std::vector< CostDBEntry * > | EntryTable |
Table of database entries. More... | |
typedef std::vector< MatchType * > | MatchTypeTable |
Table of types of match. More... | |
Static Public Attributes | |
static const std::string | EK_UNIT = "unit" |
Entry type for function units. More... | |
static const std::string | EK_RFILE = "rfile" |
Entry type for register files. More... | |
static const std::string | EK_MBUS = "mbus" |
Entry type for move bus. More... | |
static const std::string | EK_SOCKET = "sock" |
Entry type for sockets. More... | |
static const std::string | EK_INPUT_SOCKET = "in sock" |
Entry type for input sockets. More... | |
static const std::string | EK_OUTPUT_SOCKET = "out sock" |
Entry type for output sockets. More... | |
static const std::string | EK_INLINE_IMM_SOCKET = "imm sock" |
Entry type for immediate sockets. More... | |
static const std::string | EKF_BIT_WIDTH = "data" |
Field type for bit width of an entry. More... | |
static const std::string | EKF_OPERATIONS = "oper" |
Field type for operations supported by an entry. More... | |
static const std::string | EKF_LATENCY = "latency" |
Field type for latency of an entry. More... | |
static const std::string | EKF_NUM_REGISTERS = "size" |
Field type for number of registers in an entry. More... | |
static const std::string | EKF_READ_PORTS = "rd" |
Field type for number of read ports in an entry. More... | |
static const std::string | EKF_WRITE_PORTS = "wr" |
Field type for number of write ports in an entry. More... | |
static const std::string | EKF_BIDIR_PORTS = "bidir" |
Field type for number of bidirectional ports in an entry. More... | |
static const std::string | EKF_MAX_READS = "max reads" |
Field type for number of max simultaneous reads in an entry. More... | |
static const std::string | EKF_MAX_WRITES = "max writes" |
Field type for number of max simultaneous writes in an entry. More... | |
static const std::string | EKF_BUS_FANIN = "bus fanin" |
Field type for fanin of bus in an entry. More... | |
static const std::string | EKF_BUS_FANOUT = "bus fanout" |
Field type for fanout of bus in an entry. More... | |
static const std::string | EKF_INPUT_SOCKET_FANIN = "in sock fanin" |
Field type for fanin of input socket in an entry. More... | |
static const std::string | EKF_OUTPUT_SOCKET_FANOUT = "out sock fanout" |
Field type for fanout of output socket in an entry. More... | |
static const std::string | EKF_GUARD_SUPPORT = "guard support" |
Field type for guard support in an entry. More... | |
static const std::string | EKF_GUARD_LATENCY = "guard latency" |
Field type for guard latency in an entry. More... | |
static const std::string | EKF_FUNCTION_UNIT = "function unit" |
Field type for function unit entry;. More... | |
Type definiotions and constant for the cost database.
Definition at line 48 of file CostDBTypes.hh.
typedef std::vector<CostDBEntry*> CostDBTypes::EntryTable |
Table of database entries.
Definition at line 111 of file CostDBTypes.hh.
typedef std::vector<MatchType*> CostDBTypes::MatchTypeTable |
Table of types of match.
Definition at line 114 of file CostDBTypes.hh.
Type of match to be accepted in the database queries for a certain field.
Enumerator | |
---|---|
MATCH_ALL | |
MATCH_EXACT | |
MATCH_SUBSET | |
MATCH_SUPERSET | |
MATCH_INTERPOLATION |
Definition at line 54 of file CostDBTypes.hh.
|
static |
Entry type for immediate sockets.
Definition at line 75 of file CostDBTypes.hh.
Referenced by CostDatabase::CostDatabase().
|
static |
Entry type for input sockets.
Definition at line 71 of file CostDBTypes.hh.
Referenced by CostDatabase::buildSockets(), and CostDatabase::CostDatabase().
|
static |
Entry type for move bus.
Definition at line 67 of file CostDBTypes.hh.
Referenced by CostDatabase::buildBuses(), and CostDatabase::CostDatabase().
|
static |
Entry type for output sockets.
Definition at line 73 of file CostDBTypes.hh.
Referenced by CostDatabase::buildSockets(), and CostDatabase::CostDatabase().
|
static |
Entry type for register files.
Definition at line 65 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), and InterpolatingRFEstimator::initializeEstimator().
|
static |
Entry type for sockets.
Definition at line 69 of file CostDBTypes.hh.
Referenced by CostDatabase::CostDatabase().
|
static |
Entry type for function units.
Definition at line 63 of file CostDBTypes.hh.
Referenced by CostDatabase::buildFunctionUnits(), CostDatabase::CostDatabase(), and InterpolatingFUEstimator::initializeEstimator().
|
static |
Field type for number of bidirectional ports in an entry.
Definition at line 90 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for bit width of an entry.
Definition at line 78 of file CostDBTypes.hh.
Referenced by CostDatabase::buildBuses(), CostDatabase::buildFunctionUnits(), CostDatabase::buildRegisterFiles(), CostDatabase::buildSockets(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), InterpolatingFUEstimator::createSearch(), InterpolatingFUEstimator::createSearchTypes(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for fanin of bus in an entry.
Definition at line 96 of file CostDBTypes.hh.
Referenced by CostDatabase::buildBuses(), and CostDatabase::CostDatabase().
|
static |
Field type for fanout of bus in an entry.
Definition at line 98 of file CostDBTypes.hh.
Referenced by CostDatabase::buildBuses(), and CostDatabase::CostDatabase().
|
static |
Field type for function unit entry;.
Definition at line 108 of file CostDBTypes.hh.
Referenced by CostDatabase::buildFunctionUnits(), CostDatabase::CostDatabase(), InterpolatingFUEstimator::createSearch(), and InterpolatingFUEstimator::createSearchTypes().
|
static |
Field type for guard latency in an entry.
Definition at line 106 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for guard support in an entry.
Definition at line 104 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for fanin of input socket in an entry.
Definition at line 100 of file CostDBTypes.hh.
Referenced by CostDatabase::buildSockets(), and CostDatabase::CostDatabase().
|
static |
Field type for latency of an entry.
Definition at line 82 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for number of max simultaneous reads in an entry.
Definition at line 92 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for number of max simultaneous writes in an entry.
Definition at line 94 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for number of registers in an entry.
Definition at line 84 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for operations supported by an entry.
Definition at line 80 of file CostDBTypes.hh.
|
static |
Field type for fanout of output socket in an entry.
Definition at line 102 of file CostDBTypes.hh.
Referenced by CostDatabase::buildSockets(), and CostDatabase::CostDatabase().
|
static |
Field type for number of read ports in an entry.
Definition at line 86 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().
|
static |
Field type for number of write ports in an entry.
Definition at line 88 of file CostDBTypes.hh.
Referenced by CostDatabase::buildRegisterFiles(), CostDatabase::CostDatabase(), InterpolatingRFEstimator::createSearch(), and InterpolatingRFEstimator::createSearchTypes().