OpenASIP
2.0
|
#include <string>
#include <vector>
#include "BEMSerializer.hh"
#include "BinaryEncoding.hh"
#include "SocketCodeTable.hh"
#include "FUPortCode.hh"
#include "RFPortCode.hh"
#include "IUPortCode.hh"
#include "ImmediateControlField.hh"
#include "MoveSlot.hh"
#include "LImmDstRegisterField.hh"
#include "ImmediateSlotField.hh"
#include "GuardField.hh"
#include "SourceField.hh"
#include "DestinationField.hh"
#include "GPRGuardEncoding.hh"
#include "FUGuardEncoding.hh"
#include "UnconditionalGuardEncoding.hh"
#include "SocketEncoding.hh"
#include "BridgeEncoding.hh"
#include "ImmediateEncoding.hh"
#include "NOPEncoding.hh"
#include "Application.hh"
#include "Environment.hh"
#include "ObjectState.hh"
#include "InstructionFormat.hh"
Go to the source code of this file.
Variables | |
const string | TRUE = "true" |
const string | FALSE = "false" |
const string | ADF_ENCODING = "adf-encoding" |
const string | BEM_VERSION_STR = "version" |
const string | REQUIRED_VERSION = "required-version" |
const string | SOCKET_CODE_TABLE = "map-ports" |
const string | SC_TABLE_NAME = "name" |
const string | SC_TABLE_EXTRA_BITS = "extra-bits" |
const string | FU_PORT_CODE = "fu-port-code" |
const string | FU_PORT_CODE_PORT = "name" |
const string | FU_PORT_CODE_FU = "fu" |
const string | FU_PORT_CODE_OPERATION = "operation" |
const string | FU_PORT_CODE_ENCODING = "encoding" |
const string | FU_PORT_CODE_EXTRA_BITS = "extra-bits" |
const string | RF_PORT_CODE = "rf-port-code" |
const string | RF_PORT_CODE_RF = "rf" |
const string | RF_PORT_CODE_INDEX_WIDTH = "index-width" |
const string | RF_PORT_CODE_MAX_INDEX = "max-index" |
const string | RF_PORT_CODE_ENCODING = "encoding" |
const string | RF_PORT_CODE_EXTRA_BITS = "extra-bits" |
const string | IU_PORT_CODE = "iu-port-code" |
const string | IU_PORT_CODE_IU = "iu" |
const string | LONG_IMMEDIATE_TAG = "long-immediate-tag" |
const string | LIMM_TAG_POSITION = "pos" |
const string | LIMM_TAG_EXTRA_BITS = "extra-bits" |
const string | LIMM_TAG_MAP = "map" |
const string | LIMM_TAG_MAP_NAME = "name" |
const string | IMM_REG_FIELD = "immediate-register-field" |
const string | IMM_REG_FIELD_POS = "pos" |
const string | IMM_REG_FIELD_WIDTH = "width" |
const string | IMM_REG_FIELD_ITEMP = "instruction-template" |
const string | IMM_REG_FIELD_ITEMP_NAME = "name" |
const string | IMM_REG_FIELD_ITEMP_REG_INDEX = "reg-index-of" |
const string | SLOT = "slot" |
const string | SLOT_NAME = "name" |
const string | SLOT_POSITION = "pos" |
const string | SLOT_EXTRA_BITS = "extra-bits" |
const string | SLOT_GUARD = "guard" |
const string | SLOT_GUARD_POSITION = "pos" |
const string | SLOT_GUARD_EXTRA_BITS = "extra-bits" |
const string | REG_GUARD_CODE = "reg-guard-code" |
const string | REG_GUARD_CODE_RF = "rf" |
const string | REG_GUARD_CODE_INDEX = "index" |
const string | REG_GUARD_CODE_INVERTED = "inv" |
const string | PORT_GUARD_CODE = "port-guard-code" |
const string | PORT_GUARD_CODE_FU = "fu" |
const string | PORT_GUARD_CODE_PORT = "port" |
const string | PORT_GUARD_CODE_INVERTED = "inv" |
const string | ALWAYS_TRUE_GUARD_CODE = "always-true-guard-code" |
const string | ALWAYS_FALSE_GUARD_CODE = "always-false-guard-code" |
const string | SLOT_SOURCE = "source" |
const string | SLOT_DESTINATION = "destination" |
const string | SRC_DST_POSITION = "pos" |
const string | SRC_DST_EXTRA_BITS = "extra-bits" |
const string | SRC_DST_ID_POS = "id-pos" |
const string | ID_POS_LEFT = "left" |
const string | ID_POS_RIGHT = "right" |
const string | SOCKET = "socket" |
const string | SOCKET_NAME = "name" |
const string | SOCKET_MAP = "map" |
const string | SOCKET_MAP_EXTRA_BITS = "extra-bits" |
const string | SOCKET_MAP_CODES = "codes" |
const string | SOURCE_IMMEDIATE = "immediate" |
const string | SOURCE_IMMEDIATE_WIDTH = "width" |
const string | SOURCE_IMMEDIATE_MAP = "map" |
const string | SOURCE_IMMEDIATE_MAP_EXTRA_BITS = "extra-bits" |
const string | SOURCE_BRIDGE = "bridge" |
const string | SOURCE_BRIDGE_NAME = "name" |
const string | SOURCE_BRIDGE_MAP = "map" |
const string | SOURCE_BRIDGE_MAP_EXTRA_BITS = "extra-bits" |
const string | SRC_DST_NO_OPERATION = "no-operation" |
const string | SRC_DST_NO_OPERATION_MAP = "map" |
const string | SRC_DST_NO_OPERATION_MAP_EXTRA_BITS = "extra-bits" |
const string | INSTRUCTION_FORMAT = "ota-format" |
const string | INSTRUCTION_FORMAT_NAME = "name" |
const string | IMMEDIATE_SLOT = "immediate-slot" |
const string | IMMEDIATE_SLOT_NAME = "name" |
const string | IMMEDIATE_SLOT_WIDTH = "width" |
const string | IMMEDIATE_SLOT_POS = "pos" |
const string | EXTRA_BITS = "extra-bits" |
const string | MAP = "map" |
const string | BEM_SCHEMA_FILE = "bem/BEM_Schema.xsd" |
const string ADF_ENCODING = "adf-encoding" |
Definition at line 67 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToFileFormat().
const string ALWAYS_FALSE_GUARD_CODE = "always-false-guard-code" |
Definition at line 118 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string ALWAYS_TRUE_GUARD_CODE = "always-true-guard-code" |
Definition at line 117 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string BEM_SCHEMA_FILE = "bem/BEM_Schema.xsd" |
Definition at line 159 of file BEMSerializer.cc.
Referenced by BEMSerializer::BEMSerializer().
const string BEM_VERSION_STR = "version" |
Definition at line 68 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToFileFormat(), and BEMSerializer::readState().
const string EXTRA_BITS = "extra-bits" |
Definition at line 156 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertZeroEncExtraBits().
const string FALSE = "false" |
Definition at line 65 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string FU_PORT_CODE = "fu-port-code" |
Definition at line 74 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertZeroEncExtraBits(), BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string FU_PORT_CODE_ENCODING = "encoding" |
Definition at line 78 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertZeroEncExtraBits(), BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string FU_PORT_CODE_EXTRA_BITS = "extra-bits" |
Definition at line 79 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string FU_PORT_CODE_FU = "fu" |
Definition at line 76 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string FU_PORT_CODE_OPERATION = "operation" |
Definition at line 77 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string FU_PORT_CODE_PORT = "name" |
Definition at line 75 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string ID_POS_LEFT = "left" |
Definition at line 126 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string ID_POS_RIGHT = "right" |
Definition at line 127 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string IMM_REG_FIELD = "immediate-register-field" |
Definition at line 95 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToOMFormat(), and BEMSerializer::longImmDstRegisterFieldToFile().
const string IMM_REG_FIELD_ITEMP = "instruction-template" |
Definition at line 98 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmDstRegFieldToOM(), and BEMSerializer::longImmDstRegisterFieldToFile().
const string IMM_REG_FIELD_ITEMP_NAME = "name" |
Definition at line 99 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmDstRegFieldToOM(), and BEMSerializer::longImmDstRegisterFieldToFile().
const string IMM_REG_FIELD_ITEMP_REG_INDEX = "reg-index-of" |
Definition at line 100 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmDstRegisterFieldToFile().
const string IMM_REG_FIELD_POS = "pos" |
Definition at line 96 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmDstRegFieldToOM(), and BEMSerializer::longImmDstRegisterFieldToFile().
const string IMM_REG_FIELD_WIDTH = "width" |
Definition at line 97 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmDstRegFieldToOM(), and BEMSerializer::longImmDstRegisterFieldToFile().
const string IMMEDIATE_SLOT = "immediate-slot" |
Definition at line 151 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToOMFormat(), and BEMSerializer::immediateSlotToFile().
const string IMMEDIATE_SLOT_NAME = "name" |
Definition at line 152 of file BEMSerializer.cc.
Referenced by BEMSerializer::immediateSlotToFile(), and BEMSerializer::immediateSlotToOM().
const string IMMEDIATE_SLOT_POS = "pos" |
Definition at line 154 of file BEMSerializer.cc.
Referenced by BEMSerializer::immediateSlotToFile(), and BEMSerializer::immediateSlotToOM().
const string IMMEDIATE_SLOT_WIDTH = "width" |
Definition at line 153 of file BEMSerializer.cc.
Referenced by BEMSerializer::immediateSlotToFile(), and BEMSerializer::immediateSlotToOM().
const string INSTRUCTION_FORMAT = "ota-format" |
Definition at line 148 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToOMFormat().
const string INSTRUCTION_FORMAT_NAME = "name" |
Definition at line 149 of file BEMSerializer.cc.
const string IU_PORT_CODE = "iu-port-code" |
Definition at line 86 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string IU_PORT_CODE_IU = "iu" |
Definition at line 87 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), and BEMSerializer::socketCodeTableToFile().
const string LIMM_TAG_EXTRA_BITS = "extra-bits" |
Definition at line 91 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmTagToFile(), and BEMSerializer::longImmTagToOM().
const string LIMM_TAG_MAP = "map" |
Definition at line 92 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmTagToFile(), and BEMSerializer::longImmTagToOM().
const string LIMM_TAG_MAP_NAME = "name" |
Definition at line 93 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmTagToFile(), and BEMSerializer::longImmTagToOM().
const string LIMM_TAG_POSITION = "pos" |
Definition at line 90 of file BEMSerializer.cc.
Referenced by BEMSerializer::longImmTagToFile(), and BEMSerializer::longImmTagToOM().
const string LONG_IMMEDIATE_TAG = "long-immediate-tag" |
Definition at line 89 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToOMFormat(), and BEMSerializer::longImmTagToFile().
const string MAP = "map" |
Definition at line 157 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertZeroEncExtraBits().
const string PORT_GUARD_CODE = "port-guard-code" |
Definition at line 113 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string PORT_GUARD_CODE_FU = "fu" |
Definition at line 114 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string PORT_GUARD_CODE_INVERTED = "inv" |
Definition at line 116 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string PORT_GUARD_CODE_PORT = "port" |
Definition at line 115 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string REG_GUARD_CODE = "reg-guard-code" |
Definition at line 109 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string REG_GUARD_CODE_INDEX = "index" |
Definition at line 111 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string REG_GUARD_CODE_INVERTED = "inv" |
Definition at line 112 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string REG_GUARD_CODE_RF = "rf" |
Definition at line 110 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string REQUIRED_VERSION = "required-version" |
Definition at line 69 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToFileFormat(), and BEMSerializer::readState().
const string RF_PORT_CODE = "rf-port-code" |
Definition at line 80 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string RF_PORT_CODE_ENCODING = "encoding" |
Definition at line 84 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), and BEMSerializer::socketCodeTableToFile().
const string RF_PORT_CODE_EXTRA_BITS = "extra-bits" |
Definition at line 85 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), and BEMSerializer::socketCodeTableToFile().
const string RF_PORT_CODE_INDEX_WIDTH = "index-width" |
Definition at line 82 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), and BEMSerializer::socketCodeTableToFile().
const string RF_PORT_CODE_MAX_INDEX = "max-index" |
Definition at line 83 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile().
const string RF_PORT_CODE_RF = "rf" |
Definition at line 81 of file BEMSerializer.cc.
Referenced by BEMSerializer::readRegisterFilePortCode(), and BEMSerializer::socketCodeTableToFile().
const string SC_TABLE_EXTRA_BITS = "extra-bits" |
Definition at line 73 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string SC_TABLE_NAME = "name" |
Definition at line 72 of file BEMSerializer.cc.
Referenced by BEMSerializer::socketCodeTableToFile(), and BEMSerializer::socketCodeTableToOM().
const string SLOT = "slot" |
Definition at line 102 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToOMFormat(), and BEMSerializer::moveSlotToFile().
const string SLOT_DESTINATION = "destination" |
Definition at line 121 of file BEMSerializer.cc.
Referenced by BEMSerializer::destinationFieldToFile(), and BEMSerializer::moveSlotToOM().
const string SLOT_EXTRA_BITS = "extra-bits" |
Definition at line 105 of file BEMSerializer.cc.
Referenced by BEMSerializer::moveSlotToFile(), and BEMSerializer::moveSlotToOM().
const string SLOT_GUARD = "guard" |
Definition at line 106 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::moveSlotToOM().
const string SLOT_GUARD_EXTRA_BITS = "extra-bits" |
Definition at line 108 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string SLOT_GUARD_POSITION = "pos" |
Definition at line 107 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().
const string SLOT_NAME = "name" |
Definition at line 103 of file BEMSerializer.cc.
Referenced by BEMSerializer::moveSlotToFile(), and BEMSerializer::moveSlotToOM().
const string SLOT_POSITION = "pos" |
Definition at line 104 of file BEMSerializer.cc.
Referenced by BEMSerializer::moveSlotToFile(), and BEMSerializer::moveSlotToOM().
const string SLOT_SOURCE = "source" |
Definition at line 120 of file BEMSerializer.cc.
Referenced by BEMSerializer::moveSlotToOM(), BEMSerializer::slotFieldToFile(), and BEMSerializer::sourceFieldToFile().
const string SOCKET = "socket" |
Definition at line 129 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), BEMSerializer::slotFieldToOM(), and BEMSerializer::sourceFieldToFile().
const string SOCKET_CODE_TABLE = "map-ports" |
Definition at line 71 of file BEMSerializer.cc.
Referenced by BEMSerializer::convertToOMFormat(), and BEMSerializer::socketCodeTableToFile().
const string SOCKET_MAP = "map" |
Definition at line 131 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SOCKET_MAP_CODES = "codes" |
Definition at line 133 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SOCKET_MAP_EXTRA_BITS = "extra-bits" |
Definition at line 132 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SOCKET_NAME = "name" |
Definition at line 130 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SOURCE_BRIDGE = "bridge" |
Definition at line 139 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SOURCE_BRIDGE_MAP = "map" |
Definition at line 141 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SOURCE_BRIDGE_MAP_EXTRA_BITS = "extra-bits" |
Definition at line 142 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SOURCE_BRIDGE_NAME = "name" |
Definition at line 140 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SOURCE_IMMEDIATE = "immediate" |
Definition at line 135 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SOURCE_IMMEDIATE_MAP = "map" |
Definition at line 137 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile().
const string SOURCE_IMMEDIATE_MAP_EXTRA_BITS = "extra-bits" |
Definition at line 138 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SOURCE_IMMEDIATE_WIDTH = "width" |
Definition at line 136 of file BEMSerializer.cc.
Referenced by BEMSerializer::sourceFieldToFile(), and BEMSerializer::sourceFieldToOM().
const string SRC_DST_EXTRA_BITS = "extra-bits" |
Definition at line 124 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SRC_DST_ID_POS = "id-pos" |
Definition at line 125 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SRC_DST_NO_OPERATION = "no-operation" |
Definition at line 144 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), BEMSerializer::slotFieldToOM(), and BEMSerializer::sourceFieldToFile().
const string SRC_DST_NO_OPERATION_MAP = "map" |
Definition at line 145 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile().
const string SRC_DST_NO_OPERATION_MAP_EXTRA_BITS = "extra-bits" |
Definition at line 146 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string SRC_DST_POSITION = "pos" |
Definition at line 123 of file BEMSerializer.cc.
Referenced by BEMSerializer::slotFieldToFile(), and BEMSerializer::slotFieldToOM().
const string TRUE = "true" |
Definition at line 64 of file BEMSerializer.cc.
Referenced by BEMSerializer::guardFieldToFile(), and BEMSerializer::guardFieldToOM().