Go to the documentation of this file.
59 :
Port(name, *static_cast<
Unit*>(&parent)), width_(width) {
61 string procName =
"BaseFUPort::BaseFUPort";
62 throw OutOfRange(__FILE__, __LINE__, procName);
77 :
Port(state, parent) {
123 string procName =
"FUPort::setWidth";
124 throw OutOfRange(__FILE__, __LINE__, procName);
168 const string procName =
"BaseFUPort::loadStateWithoutReferences";
void loadStateWithoutReferences(const ObjectState *state)
int width_
Bit width of the port.
BaseFUPort(const std::string &name, int width, FunctionUnit &parent)
virtual ObjectState * saveState() const
FunctionUnit * parentUnit() const
virtual void loadState(const ObjectState *state)
virtual void loadState(const ObjectState *state)
std::string errorMessage() const
virtual ObjectState * saveState() const
static const std::string OSKEY_WIDTH
ObjectState attribute key for bit width of the port.
int intAttribute(const std::string &name) const
virtual int width() const
void setAttribute(const std::string &name, const std::string &value)
Unit * parentUnit() const