Go to the documentation of this file.
33 #ifndef TTA_UNIVERSAL_FUNCTION_UNIT_HH
34 #define TTA_UNIVERSAL_FUNCTION_UNIT_HH
void ensureInputPorts(int width, int count)
virtual TTAMachine::HWOperation * operation(const std::string &name) const
static const std::string OC_SETTING_PORT_32
Name of the 32 bit wide opcode setting port.
static bool is32BitOperation(const std::string &opName)
int portCountWithWidth(int width) const
virtual TCEString name() const
void ensureOutputPorts(int width, int count)
TTAMachine::FUPort & portWithWidth(int index, int width) const
static const std::string OC_SETTING_PORT_64
Name of the 64 bit wide opcode setting port.
static const std::string OPERATIONS_OF_32_BITS[]
Table of names of 32 bit operations.
virtual bool hasOperation(const std::string &name) const
virtual void addPipelineElement(TTAMachine::PipelineElement &element)
OperationPool & opPool_
Operation pool from which the operations are searched.
virtual void loadState(const ObjectState *state)
UniversalFunctionUnit(const std::string &name, OperationPool &opPool)
virtual ~UniversalFunctionUnit()
SmartHWOperation & addSupportedOperation(const Operation &operation)