Go to the documentation of this file.
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;
std::string OperationType
void WriteVerilogOpcodePackage(const OperationEncodingMapType &encodings, std::ofstream &stream) const
static size_t gcuOpcodeWidth(const TTAMachine::Machine &mach)
void generateOpcodePackage(HDL language, std::ofstream &stream) const
const TTAMachine::Machine * mach_
const std::string entityStr_
size_t encoding(const std::string &operName) const
virtual ~CUOpcodeGenerator()
void WriteVhdlOpcodePackage(const OperationEncodingMapType &encodings, std::ofstream &stream) const
HDL
HDLs supported by ProGe.
OperationEncodingMapType encodings() const
size_t opcodeWidth() const
std::map< OperationType, EncodingType, TCEString::ICLess > OperationEncodingMapType