Go to the documentation of this file.
33 #ifndef TTA_TEMPLATE_SLOT_HH
34 #define TTA_TEMPLATE_SLOT_HH
47 class InstructionTemplate;
72 std::string
slot()
const;
static const std::string OSKEY_SLOT
ObjectState attribute key for slot name.
ObjectState * saveState() const
static const std::string OSNAME_TEMPLATE_SLOT
ObjectState name for template slot.
TemplateSlot(const Bus &slot, int width, ImmediateUnit &destination)
static const std::string OSKEY_WIDTH
ObjectState attribute key for bit width.
static const std::string OSKEY_FU_WRITE
static const std::string OSKEY_RF_READ
ImmediateUnit * destination() const
const ImmediateSlot * immSlot_
The immediate slot which is programmed by the instruction bit field of this template slot.
static const std::string OSKEY_RF_WRITE
int width_
The number of bits that can be encoded in this instruction field.
static const std::string OSKEY_FU_READ
const Bus * bus_
The bus which is programmed by the instruction bit field of this template slot.
ImmediateUnit * destination_
Destination unit.
static const std::string OSKEY_DESTINATION
ObjectState attribute key for destination.