33#ifndef GCUOPCODEGENERATOR_HH
34#define GCUOPCODEGENERATOR_HH
62 typedef std::map<OperationType, EncodingType, TCEString::ICLess>
67 const std::string& entityName =
"tta0");
71 size_t encoding(
const std::string& operName)
const;
80 std::ofstream& stream)
const;
83 std::ofstream& stream)
const;
void generateOpcodePackage(HDL language, std::ofstream &stream) const
std::map< OperationType, EncodingType, TCEString::ICLess > OperationEncodingMapType
size_t opcodeWidth() const
size_t encoding(const std::string &operName) const
void WriteVhdlOpcodePackage(const OperationEncodingMapType &encodings, std::ofstream &stream) const
const TTAMachine::Machine * mach_
virtual ~CUOpcodeGenerator()
OperationEncodingMapType encodings() const
void WriteVerilogOpcodePackage(const OperationEncodingMapType &encodings, std::ofstream &stream) const
const std::string entityStr_
std::string OperationType
static size_t gcuOpcodeWidth(const TTAMachine::Machine &mach)
HDL
HDLs supported by ProGe.