OpenASIP  2.0
Public Types | Public Member Functions | List of all members
PIGTextGenerator Class Reference

#include <PIGTextGenerator.hh>

Inheritance diagram for PIGTextGenerator:
Inheritance graph
Collaboration diagram for PIGTextGenerator:
Collaboration graph

Public Types

enum  {
  TXT_TEMPLATE_ENCODING_MISSING = Texts::LAST__, TXT_EMPTY_ITEMP_MISSING, TXT_BEM_DEFINES_SLOT_FOR_NONEXISTING_BUS, TXT_BEM_DEFINES_IMM_SLOT_THAT_IS_NEVER_USED,
  TXT_ALWAYS_TRUE_GUARD_ENCODING_MISSING, TXT_FU_GUARD_ENCODING_MISSING, TXT_GPR_GUARD_ENCODING_MISSING, TXT_NOP_ENCODING_MISSING,
  TXT_SOCKET_ENCODING_MISSING, TXT_IU_PORT_CODE_MISSING, TXT_RF_PORT_CODE_MISSING, TXT_FU_OC_PORT_CODE_MISSING,
  TXT_OSAL_OC_MISSING, TXT_FU_PORT_CODE_MISSING, TXT_IMMEDIATE_ENCODING_MISSING, TXT_FILE_NOT_FOUND
}
 

Public Member Functions

 PIGTextGenerator ()
 
virtual ~PIGTextGenerator ()
 
- Public Member Functions inherited from Texts::TextGenerator
 TextGenerator ()
 
virtual ~TextGenerator ()
 
virtual boost::format text (int textId)
 
virtual void addText (int textId, const std::string &templateString)
 
virtual void replaceText (int textId, const std::string &newString)
 

Detailed Description

Text generator for the texts used in the program image generator.

Definition at line 41 of file PIGTextGenerator.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
TXT_TEMPLATE_ENCODING_MISSING 
TXT_EMPTY_ITEMP_MISSING 
TXT_BEM_DEFINES_SLOT_FOR_NONEXISTING_BUS 
TXT_BEM_DEFINES_IMM_SLOT_THAT_IS_NEVER_USED 
TXT_ALWAYS_TRUE_GUARD_ENCODING_MISSING 
TXT_FU_GUARD_ENCODING_MISSING 
TXT_GPR_GUARD_ENCODING_MISSING 
TXT_NOP_ENCODING_MISSING 
TXT_SOCKET_ENCODING_MISSING 
TXT_IU_PORT_CODE_MISSING 
TXT_RF_PORT_CODE_MISSING 
TXT_FU_OC_PORT_CODE_MISSING 
TXT_OSAL_OC_MISSING 
TXT_FU_PORT_CODE_MISSING 
TXT_IMMEDIATE_ENCODING_MISSING 
TXT_FILE_NOT_FOUND 

Definition at line 46 of file PIGTextGenerator.hh.

Constructor & Destructor Documentation

◆ PIGTextGenerator()

PIGTextGenerator::PIGTextGenerator ( )

The constructor.

Definition at line 38 of file PIGTextGenerator.cc.

38  {
40  "Encoding for instruction template '%1%' is missing from BEM.");
42  "Empty instruction template missing in machine.");
44  "BEM defines a move slot for bus '%1%' which does not exist "
45  "in the machine.");
47  "BEM defines an immediate slot that is not used by any "
48  "instruction template of the machine.");
50  "BEM does not define an encoding for always-true guard "
51  "expression for bus '%1%'.");
53  "BEM does not define an encoding for '%1%' FU guard expression "
54  "of port '%2%' of function unit '%3%'.");
56  "BEM does not define an encoding for '%1%' GPR guard expression "
57  "of register '%2%' of register file '%3%'.");
59  "BEM does not define an encoding for NOP on bus '%1%'.");
61  "BEM does not define an encoding for socket '%1%' at the %2% "
62  "of bus '%3%'.");
64  "BEM does not define an encoding for port of immediate unit "
65  "'%1%' which is connected to socket '%2%', in move slot '%3%'.");
67  "BEM does not define an encoding for port of register file "
68  "'%1%' which is connected to socket '%2%', in move slot '%3%'.");
70  "BEM does not define an encoding for opcode setting port of "
71  "function unit '%1%' for operation '%2%'.");
73  "Osal operation for operation code name '%1%' in function unit "
74  "'%2%' was not found.");
76  "BEM does not define an encoding for port '%1%' of function "
77  "unit '%2%' which is connected to socket '%3%'.");
79  "BEM does not define an encoding for immediate in the source "
80  "field of bus '%1%'.");
82  "File '%1%' not found.");
83 }

References Texts::TextGenerator::addText(), TXT_ALWAYS_TRUE_GUARD_ENCODING_MISSING, TXT_BEM_DEFINES_IMM_SLOT_THAT_IS_NEVER_USED, TXT_BEM_DEFINES_SLOT_FOR_NONEXISTING_BUS, TXT_EMPTY_ITEMP_MISSING, TXT_FILE_NOT_FOUND, TXT_FU_GUARD_ENCODING_MISSING, TXT_FU_OC_PORT_CODE_MISSING, TXT_FU_PORT_CODE_MISSING, TXT_GPR_GUARD_ENCODING_MISSING, TXT_IMMEDIATE_ENCODING_MISSING, TXT_IU_PORT_CODE_MISSING, TXT_NOP_ENCODING_MISSING, TXT_OSAL_OC_MISSING, TXT_RF_PORT_CODE_MISSING, TXT_SOCKET_ENCODING_MISSING, and TXT_TEMPLATE_ENCODING_MISSING.

Here is the call graph for this function:

◆ ~PIGTextGenerator()

PIGTextGenerator::~PIGTextGenerator ( )
virtual

The destructor.

Definition at line 89 of file PIGTextGenerator.cc.

89  {
90 }

The documentation for this class was generated from the following files:
PIGTextGenerator::TXT_SOCKET_ENCODING_MISSING
@ TXT_SOCKET_ENCODING_MISSING
Definition: PIGTextGenerator.hh:55
PIGTextGenerator::TXT_OSAL_OC_MISSING
@ TXT_OSAL_OC_MISSING
Definition: PIGTextGenerator.hh:59
PIGTextGenerator::TXT_RF_PORT_CODE_MISSING
@ TXT_RF_PORT_CODE_MISSING
Definition: PIGTextGenerator.hh:57
PIGTextGenerator::TXT_GPR_GUARD_ENCODING_MISSING
@ TXT_GPR_GUARD_ENCODING_MISSING
Definition: PIGTextGenerator.hh:53
PIGTextGenerator::TXT_FILE_NOT_FOUND
@ TXT_FILE_NOT_FOUND
Definition: PIGTextGenerator.hh:62
PIGTextGenerator::TXT_IU_PORT_CODE_MISSING
@ TXT_IU_PORT_CODE_MISSING
Definition: PIGTextGenerator.hh:56
Texts::TextGenerator::addText
virtual void addText(int textId, const std::string &templateString)
Definition: TextGenerator.cc:118
PIGTextGenerator::TXT_BEM_DEFINES_SLOT_FOR_NONEXISTING_BUS
@ TXT_BEM_DEFINES_SLOT_FOR_NONEXISTING_BUS
Definition: PIGTextGenerator.hh:49
PIGTextGenerator::TXT_FU_PORT_CODE_MISSING
@ TXT_FU_PORT_CODE_MISSING
Definition: PIGTextGenerator.hh:60
PIGTextGenerator::TXT_EMPTY_ITEMP_MISSING
@ TXT_EMPTY_ITEMP_MISSING
Definition: PIGTextGenerator.hh:48
PIGTextGenerator::TXT_IMMEDIATE_ENCODING_MISSING
@ TXT_IMMEDIATE_ENCODING_MISSING
Definition: PIGTextGenerator.hh:61
PIGTextGenerator::TXT_FU_OC_PORT_CODE_MISSING
@ TXT_FU_OC_PORT_CODE_MISSING
Definition: PIGTextGenerator.hh:58
PIGTextGenerator::TXT_NOP_ENCODING_MISSING
@ TXT_NOP_ENCODING_MISSING
Definition: PIGTextGenerator.hh:54
PIGTextGenerator::TXT_BEM_DEFINES_IMM_SLOT_THAT_IS_NEVER_USED
@ TXT_BEM_DEFINES_IMM_SLOT_THAT_IS_NEVER_USED
Definition: PIGTextGenerator.hh:50
PIGTextGenerator::TXT_TEMPLATE_ENCODING_MISSING
@ TXT_TEMPLATE_ENCODING_MISSING
Definition: PIGTextGenerator.hh:47
Texts::LAST__
@ LAST__
Definition: TextGenerator.hh:68
PIGTextGenerator::TXT_FU_GUARD_ENCODING_MISSING
@ TXT_FU_GUARD_ENCODING_MISSING
Definition: PIGTextGenerator.hh:52
PIGTextGenerator::TXT_ALWAYS_TRUE_GUARD_ENCODING_MISSING
@ TXT_ALWAYS_TRUE_GUARD_ENCODING_MISSING
Definition: PIGTextGenerator.hh:51