Go to the documentation of this file.
75 const string& name,
unsigned int size,
unsigned int width,
76 unsigned int maxReads,
unsigned int guardLatency,
79 name, size, width, maxReads,
MAX_WRITES, guardLatency,
81 extension_(extension),
126 if (
machine()->immediateUnitNavigator().hasItem(
name)) {
127 string procName =
"ImmediateUnit::setName";
173 std::string procName =
"ImmediateUnit::setMaxWrites";
174 throw OutOfRange(__FILE__, __LINE__, procName);
199 string procName =
"ImmediateUnit::setLatency";
200 throw OutOfRange(__FILE__, __LINE__, procName);
218 for (
int itIndex = 0; itIndex < itNav.
count(); itIndex++) {
276 const string procName =
"ImmediateUnit::loadStateWithoutReferences";
virtual void setMaxWrites(int maxWrites)
virtual void setWidth(int width)
virtual void setName(const std::string &name)
virtual TCEString name() const
std::string stringAttribute(const std::string &name) const
void setName(const std::string &name)
virtual int maxWrites() const
virtual void loadState(const ObjectState *state)
virtual ObjectState * saveState() const
#define assert(condition)
virtual void removeImmediateUnit(ImmediateUnit &unit)
virtual void removeSlots(const ImmediateUnit &dstUnit)
std::string errorMessage() const
virtual Machine * machine() const
virtual BusNavigator busNavigator() const
int intAttribute(const std::string &name) const
ComponentType * item(int index) const
virtual InstructionTemplateNavigator instructionTemplateNavigator() const
virtual int width() const
virtual void unsetMachine()
virtual void setNumberOfRegisters(int registers)
void setAttribute(const std::string &name, const std::string &value)