Go to the documentation of this file.
33 #ifndef TTA_FU_IMPLEMENTATION_HH
34 #define TTA_FU_IMPLEMENTATION_HH
48 class FUPortImplementation;
64 const std::string& name,
83 bool hasOpcode(
const std::string& operation)
const;
84 int opcode(
const std::string& operation)
const;
97 const std::string& architectureName)
const;
101 const std::string& name,
const std::string& type,
102 const std::string& value);
ParameterTable parameters_
Contains the parameters.
std::string clkPort() const
std::vector< Parameter > ParameterTable
Vector type for parameter names.
void addArchitecturePort(FUPortImplementation *port)
OpcodeMap opcodes_
Contains the operation codes.
bool hasOpcode(const std::string &operation) const
std::string glockReqPort_
Name of the global lock request port.
std::map< std::string, int > OpcodeMap
Map type for operation codes.
std::vector< FUPortImplementation * > PortTable
Vector type for FUPortImplementation.
void addExternalPort(FUExternalPort *port)
HDB::Parameter Parameter
Parameter of FU implementation.
FUExternalPort & externalPort(int index) const
std::string opcodePort() const
std::string opcodePort_
Name of the opcode port.
std::string rstPort() const
std::string glockReqPort() const
int parameterCount() const
void setGlockReqPort(const std::string &name)
std::vector< FUExternalPort * > ExternalPortTable
Vector type for FUExternalPort.
ExternalPortTable externalPorts_
Contains the external ports.
void addParameter(const std::string &name, const std::string &type, const std::string &value)
std::string opcodeOperation(int index) const
FUImplementation(const std::string &name, const std::string &opcodePort, const std::string &clkPort, const std::string &rstPort, const std::string &glockPort, const std::string &glockReqPort)
void setOpcode(const std::string &operation, int opcode)
void deleteExternalPort(FUExternalPort *port)
void setOpcodePort(const std::string &name)
int opcode(const std::string &operation) const
void deleteArchitecturePort(FUPortImplementation *port)
Parameter parameter(int index) const
void unsetOpcode(const std::string &operation)
int architecturePortCount() const
virtual ~FUImplementation()
int maxOpcodeWidth() const
std::string glockPort() const
FUPortImplementation & portImplementationByArchitectureName(const std::string &architectureName) const
FUPortImplementation & architecturePort(int index) const
int externalPortCount() const
bool hasParameter(const std::string &name) const
void removeParameter(const std::string &name)
PortTable ports_
Contains the architectural ports.