#include <UniversalFUPort.hh>
|
| UniversalFUPort (const std::string &name, int width, UniversalFunctionUnit &parent, bool isTriggering, bool setsOpcode) |
|
virtual | ~UniversalFUPort () |
|
virtual void | setName (const std::string &name) |
|
virtual void | setWidth (int width) |
|
virtual void | setTriggering (bool triggers) |
|
virtual void | setOpcodeSetting (bool setsOpcode) |
|
virtual void | loadState (const ObjectState *state) |
|
| FUPort (const std::string &name, int width, FunctionUnit &parent, bool triggers, bool setsOpcode, bool noRegister=false) |
|
| FUPort (const ObjectState *state, Unit &parent) |
|
virtual | ~FUPort () |
|
virtual bool | isTriggering () const |
|
virtual bool | isOpcodeSetting () const |
|
void | setTriggering (bool triggers) |
|
virtual ObjectState * | saveState () const |
|
std::string | bindingString () const |
|
void | updateBindingString () const |
|
bool | isArchitectureEqual (FUPort *port) |
|
bool | noRegister () const |
|
void | setNoRegister (bool noRegister) |
|
virtual | ~BaseFUPort () |
|
FunctionUnit * | parentUnit () const |
|
virtual int | width () const |
|
void | setWidth (int width) |
|
| Port (const std::string &name, Unit &parentUnit) |
|
| Port (const ObjectState *state, Unit &parentUnit) |
|
virtual | ~Port () |
|
virtual std::string | name () const |
|
virtual void | attachSocket (Socket &socket) |
|
virtual void | detachSocket (Socket &socket) |
|
virtual void | detachAllSockets () |
|
Unit * | parentUnit () const |
|
virtual Socket * | inputSocket () const |
|
virtual Socket * | outputSocket () const |
|
virtual Socket * | unconnectedSocket (int index) const |
|
virtual int | socketCount () const |
|
virtual bool | isConnectedTo (const Socket &socket) const |
|
virtual bool | isOutput () const |
|
virtual bool | isInput () const |
|
virtual | ~Serializable () |
|
|
static const std::string | OSNAME_FUPORT = "fu_port" |
| ObjectState name for FUPort. More...
|
|
static const std::string | OSKEY_TRIGGERING = "triggering" |
| ObjectState attribute key for triggering feature. More...
|
|
static const std::string | OSKEY_OPCODE_SETTING = "oc_setting" |
| ObjectState attribute key for operand code setting feature. More...
|
|
static const std::string | OSKEY_NO_REGISTER = "no_register" |
| ObjectState attribute key for noRegister setting feature. More...
|
|
static const std::string | OSKEY_WIDTH = "width" |
| ObjectState attribute key for bit width of the port. More...
|
|
static const std::string | OSNAME_PORT = "port" |
| ObjectState name for Port. More...
|
|
static const std::string | OSKEY_NAME = "name" |
| ObjectState attribute key for the name of the port. More...
|
|
static const std::string | OSKEY_FIRST_SOCKET = "1_socket" |
| ObjectState attribute key for the name of the connected socket. More...
|
|
static const std::string | OSKEY_SECOND_SOCKET = "2_socket" |
| ObjectState attribute key for the name of the other connected socket. More...
|
|
| FUPort (const std::string &name, int width, FunctionUnit &parent, bool triggers, bool setsOpcode, bool noRegister, bool dummy) |
|
| BaseFUPort (const std::string &name, int width, FunctionUnit &parent) |
|
| BaseFUPort (const ObjectState *state, Unit &parent) |
|
| Port (const std::string &name, FunctionUnit &parentUnit) |
|
| SubComponent () |
|
virtual | ~SubComponent () |
|
| MachinePart () |
|
virtual | ~MachinePart () |
|
UniversalFUPort class represents a port of UniversalFunctionUnit. The port is similar to normal FUPort but there can be several operation code setting UniversalFUPorts in UniversalFunctionUnit. UniversalFUPort is a fixed port. Its properties cannot be changes after it is created.
Definition at line 47 of file UniversalFUPort.hh.
◆ UniversalFUPort()
UniversalFUPort::UniversalFUPort |
( |
const std::string & |
name, |
|
|
int |
width, |
|
|
UniversalFunctionUnit & |
parent, |
|
|
bool |
isTriggering, |
|
|
bool |
setsOpcode |
|
) |
| |
The constructor.
- Parameters
-
name | Name of the port. |
width | Bit width of the port. |
parent | The function unit to which the port belongs. |
isTriggering | If true, writing (or reading) this port starts the execution of a new operation. |
setsOpcode | If true, writing (or reading) this port selects the operation to be executed. Opcode-setting ports must be triggering. |
- Exceptions
-
Definition at line 56 of file UniversalFUPort.cc.
◆ ~UniversalFUPort()
UniversalFUPort::~UniversalFUPort |
( |
| ) |
|
|
virtual |
◆ loadState()
void UniversalFUPort::loadState |
( |
const ObjectState * |
state | ) |
|
|
virtual |
◆ setName()
void UniversalFUPort::setName |
( |
const std::string & |
name | ) |
|
|
virtual |
◆ setOpcodeSetting()
void UniversalFUPort::setOpcodeSetting |
( |
bool |
setsOpcode | ) |
|
|
virtual |
◆ setTriggering()
void UniversalFUPort::setTriggering |
( |
bool |
triggers | ) |
|
|
virtual |
◆ setWidth()
void UniversalFUPort::setWidth |
( |
int |
width | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
static void writeToErrorLog(const std::string fileName, const int lineNumber, const std::string functionName, const std::string message, const int neededVerbosity=0)
FUPort(const std::string &name, int width, FunctionUnit &parent, bool triggers, bool setsOpcode, bool noRegister=false)