OpenASIP 2.2
Loading...
Searching...
No Matches
Classes | Enumerations
Texts Namespace Reference

Classes

class  TextGenerator
 

Enumerations

enum  {
  TXT_NO_ADF_DEFINED_IN_PCF = Texts::LAST__ , TXT_ILLEGAL_ADF_FILE , TXT_REGISTER_NOT_FOUND , TXT_REGISTER_FILE_NOT_FOUND ,
  TXT_IMMEDIATE_UNIT_NOT_FOUND , TXT_FU_NOT_FOUND , TXT_BUS_NOT_FOUND , TXT_FUPORT_NOT_FOUND ,
  TXT_INTERP_HELP_PROG , TXT_INTERP_HELP_MACH , TXT_INTERP_HELP_CONF , TXT_INTERP_HELP_QUIT ,
  TXT_INTERP_HELP_DISASSEMBLE , TXT_INTERP_HELP_RUN , TXT_INTERP_HELP_STEPI , TXT_INTERP_HELP_COMMANDS ,
  TXT_INTERP_HELP_UNTIL , TXT_INTERP_HELP_SETTING , TXT_INTERP_HELP_RESUME , TXT_INTERP_HELP_HELP ,
  TXT_INTERP_HELP_INFO , TXT_INTERP_HELP_BREAK , TXT_INTERP_HELP_WATCH , TXT_INTERP_HELP_TBREAK ,
  TXT_INTERP_HELP_CONDITION , TXT_INTERP_HELP_IGNORE , TXT_INTERP_HELP_DELETEBP , TXT_INTERP_HELP_ENABLEBP ,
  TXT_INTERP_HELP_DISABLEBP , TXT_INTERP_HELP_NEXTI , TXT_INTERP_HELP_KILL , TXT_INTERP_HELP_X ,
  TXT_INTERP_HELP_LOADDATA , TXT_CLI_ONLINE_HELP , TXT_CMD_LINE_HELP , TXT_ILLEGAL_PROGRAM_IU_STATE_NOT_FOUND ,
  TXT_ILLEGAL_PROGRAM_UNKNOWN_MOVE_TERMINAL_TYPE , TXT_ILLEGAL_PROGRAM_RF_STATE_NOT_FOUND , TXT_ILLEGAL_PROGRAM_PORT_STATE_NOT_FOUND , TXT_ILLEGAL_PROGRAM_BUS_STATE_NOT_FOUND ,
  TXT_ILLEGAL_PROGRAM_OPCODE_NOT_FOUND , TXT_OPERATION_X_NOT_FOUND , TXT_INTERP_SIMULATION_NOT_INITIALIZED , TXT_INTERP_SIMULATION_ALREDY_RUNNING ,
  TXT_INTERP_SIMULATION_NOT_RUNNING , TXT_INTERP_SIMULATION_NOT_ENDED , TXT_INTERP_SETTING_PARSE_ERROR , TXT_INTERP_SETTING_EXECTRACE ,
  TXT_INTERP_SETTING_BUSTRACE , TXT_INTERP_SETTING_RFTRACKING , TXT_INTERP_SETTING_HISTORY_FILENAME , TXT_INTERP_SETTING_NEXT_INSTRUCTION_PRINTING ,
  TXT_INTERP_SETTING_HISTORY_SAVE , TXT_INTERP_SETTING_FU_CONFLICT_DETECTION , TXT_INTERP_SETTING_HISTORY_SIZE , TXT_SIMULATION_TIME_STATISTICS ,
  TXT_SIMULATION_TIMEOUT , TXT_STATIC_COMPILATION , TXT_INTERP_HELP_COMMANDS_AVAILABLE , TXT_STATUS_STOPPED ,
  TXT_STATUS_FINISHED , TXT_STATUS_INITIALIZED , TXT_STATUS_NOT_INITIALIZED , TXT_STOPREASON_BREAKPOINT ,
  TXT_STOPREASON_DELETED_BREAKPOINT , TXT_STOPREASON_UNTIL , TXT_STOPREASON_TIMEOUT , TXT_STOPREASON_STEPPING ,
  TXT_STOPREASON_USERREQUEST , TXT_STOPREASON_RUNTIME_ERROR , TXT_LABEL_NOT_FOUND , TXT_ILLEGAL_ADDRESS_EXPRESSION ,
  TXT_BREAKPOINT_NOT_FOUND , TXT_INTERP_ENTER_CONDITION_PROMPT , TXT_INTERP_ENTER_EXPRESSION_PROMPT , TXT_EXPRESSION_EMPTY ,
  TXT_CONFIRM_DELETE_ALL_BREAKPOINTS , TXT_CONFIRM_KILL_SIMULATION , TXT_ADDRESS_OUT_OF_RANGE , TXT_ADDRESS_SPACE_NOT_FOUND ,
  TXT_NOT_RUNNING_PARALLEL_SIMULATION , TXT_UNABLE_TO_LOAD_PROGRAM , TXT_UNABLE_TO_LOAD_MACHINE , TXT_NO_ADDRESS_SPACE_GIVEN ,
  TXT_INTERP_SETTING_PROCEDURE_TRANSFER_TRACKING , TXT_INTERP_SETTING_MEMORY_ACCESS_TRACKING , TXT_INTERP_SETTING_UTILIZATION_SAVING , TXT_INTERP_SETTING_PROFILE_SAVING ,
  TXT_NO_PROGRAM_LOADED , TXT_AUTOMATIC_FINISH_IMPOSSIBLE , TXT_STARTUP_SETTINGS_CHANGED_WARNING
}
 Ids for the generated texts. More...
 
enum  {
  TXT_HELLO_WORLD = 0 , TXT_FILE_NOT_FOUND , TXT_FILE_X_NOT_FOUND , TXT_FILE_NOT_READABLE ,
  TXT_ILLEGAL_INPUT_FILE , TXT_NO_FILENAME_DEFINED , TXT_ONLY_ONE_FILENAME_EXPECTED , TXT_NO_SUCH_SETTING ,
  TXT_UNKNOWN_COMMAND , TXT_UNKNOWN_SUBCOMMAND , TXT_ILLEGAL_ARGUMENT , TXT_ILLEGAL_ARGUMENTS ,
  LAST__
}
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Enumeration containing all text ids.

Text ids are used to achieve a right template string. In your own TextGenerator class you should define your enum like this: enum { TXT_SOMETHING = LAST__ ... };

Enumerator
TXT_HELLO_WORLD 

For testing. Do not remove.

TXT_FILE_NOT_FOUND 
TXT_FILE_X_NOT_FOUND 
TXT_FILE_NOT_READABLE 
TXT_ILLEGAL_INPUT_FILE 
TXT_NO_FILENAME_DEFINED 
TXT_ONLY_ONE_FILENAME_EXPECTED 
TXT_NO_SUCH_SETTING 
TXT_UNKNOWN_COMMAND 
TXT_UNKNOWN_SUBCOMMAND 
TXT_ILLEGAL_ARGUMENT 
TXT_ILLEGAL_ARGUMENTS 
LAST__ 

Definition at line 55 of file TextGenerator.hh.

55 {
56 TXT_HELLO_WORLD = 0, ///< For testing. Do not remove.
68 LAST__
69 };
@ TXT_HELLO_WORLD
For testing. Do not remove.
@ TXT_ONLY_ONE_FILENAME_EXPECTED
@ TXT_ILLEGAL_INPUT_FILE
@ TXT_ILLEGAL_ARGUMENT
@ TXT_NO_SUCH_SETTING
@ TXT_FILE_X_NOT_FOUND
@ TXT_NO_FILENAME_DEFINED
@ TXT_FILE_NOT_READABLE
@ TXT_UNKNOWN_COMMAND
@ TXT_FILE_NOT_FOUND
@ TXT_UNKNOWN_SUBCOMMAND
@ TXT_ILLEGAL_ARGUMENTS

◆ anonymous enum

anonymous enum

Ids for the generated texts.

Enumerator
TXT_NO_ADF_DEFINED_IN_PCF 
TXT_ILLEGAL_ADF_FILE 
TXT_REGISTER_NOT_FOUND 
TXT_REGISTER_FILE_NOT_FOUND 
TXT_IMMEDIATE_UNIT_NOT_FOUND 
TXT_FU_NOT_FOUND 
TXT_BUS_NOT_FOUND 
TXT_FUPORT_NOT_FOUND 
TXT_INTERP_HELP_PROG 

Help text for command "prog" of the CLI.

TXT_INTERP_HELP_MACH 

Help text for command "mach" of the CLI.

TXT_INTERP_HELP_CONF 

Help text for command "conf" of the CLI.

TXT_INTERP_HELP_QUIT 

Help text for command "quit" of the CLI.

TXT_INTERP_HELP_DISASSEMBLE 

Help text for command "disassemble" of the CLI.

TXT_INTERP_HELP_RUN 

Help text for command "run" of the CLI.

TXT_INTERP_HELP_STEPI 

Help text for command "stepi" of the CLI.

TXT_INTERP_HELP_COMMANDS 

Help text for command "commands" of the CLI.

TXT_INTERP_HELP_UNTIL 

Help text for command "stepi" of the CLI.

TXT_INTERP_HELP_SETTING 

Help text for command "setting" of the CLI.

TXT_INTERP_HELP_RESUME 

Help text for command "resume" of the CLI.

TXT_INTERP_HELP_HELP 

Help text for command "help" of the CLI.

TXT_INTERP_HELP_INFO 

Help text for command "info" of the CLI.

TXT_INTERP_HELP_BREAK 

Help text for command "bp" of the CLI.

TXT_INTERP_HELP_WATCH 

Help text for command "watch" of the CLI.

TXT_INTERP_HELP_TBREAK 

Help text for command "tbp" of the CLI.

TXT_INTERP_HELP_CONDITION 

Help text for command "condition" of the CLI.

TXT_INTERP_HELP_IGNORE 

Help text for command "ignore" of the CLI.

TXT_INTERP_HELP_DELETEBP 

Help text for command "deletebp" of the CLI.

TXT_INTERP_HELP_ENABLEBP 

Help text for command "enablebp" of the CLI.

TXT_INTERP_HELP_DISABLEBP 

Help text for command "disablebp" of the CLI.

TXT_INTERP_HELP_NEXTI 

Help text for command "nexti" of the CLI.

TXT_INTERP_HELP_KILL 

Help text for command "kill" of the CLI.

TXT_INTERP_HELP_X 

Help text for command "x" of the CLI.

TXT_INTERP_HELP_LOADDATA 

Help text for command "load_data" of the CLI.

TXT_CLI_ONLINE_HELP 

Online help text.

TXT_CMD_LINE_HELP 
TXT_ILLEGAL_PROGRAM_IU_STATE_NOT_FOUND 

Text of the exception thrown when Immediate Unit state could not be found and there is instruction referring to it.

TXT_ILLEGAL_PROGRAM_UNKNOWN_MOVE_TERMINAL_TYPE 

Text of the exception thrown when the terminal type of a move is not regocnized.

TXT_ILLEGAL_PROGRAM_RF_STATE_NOT_FOUND 

Text of the exception thrown when RegisterFileState could not be found and there is instruction referring to it.

TXT_ILLEGAL_PROGRAM_PORT_STATE_NOT_FOUND 

Text of the exception thrown when FUPortState could not be found and there is instruction referring to it.

TXT_ILLEGAL_PROGRAM_BUS_STATE_NOT_FOUND 

Text of the exception thrown when FUPortState could not be found and there is instruction referring to it.

TXT_ILLEGAL_PROGRAM_OPCODE_NOT_FOUND 

Text of the exception thrown when a port to be written is an opcode setting port and no opcode is found in the move.

TXT_OPERATION_X_NOT_FOUND 
TXT_INTERP_SIMULATION_NOT_INITIALIZED 

Text to be printed when simulation is not initialized and it should be.

TXT_INTERP_SIMULATION_ALREDY_RUNNING 

Text to be printed when simulation is already running and it should not be.

TXT_INTERP_SIMULATION_NOT_RUNNING 

Text to be printed when simulation is not running and it should be.

TXT_INTERP_SIMULATION_NOT_ENDED 

Text to be printed when simulation has not ended and it should be.

TXT_INTERP_SETTING_PARSE_ERROR 

In case user tried to set a setting with illegal parameter.

TXT_INTERP_SETTING_EXECTRACE 
TXT_INTERP_SETTING_BUSTRACE 
TXT_INTERP_SETTING_RFTRACKING 
TXT_INTERP_SETTING_HISTORY_FILENAME 
TXT_INTERP_SETTING_NEXT_INSTRUCTION_PRINTING 
TXT_INTERP_SETTING_HISTORY_SAVE 
TXT_INTERP_SETTING_FU_CONFLICT_DETECTION 
TXT_INTERP_SETTING_HISTORY_SIZE 

Description of the execution trace setting.

TXT_SIMULATION_TIME_STATISTICS 

Description of the simulation time statistics setting.

TXT_SIMULATION_TIMEOUT 

Simulation timeout in seconds.

TXT_STATIC_COMPILATION 

Use static compilation when using compiled simulator.

TXT_INTERP_HELP_COMMANDS_AVAILABLE 

Description of the execution trace setting.

TXT_STATUS_STOPPED 

Status string of stopped simulation.

TXT_STATUS_FINISHED 

Status string of a finished simulation.

TXT_STATUS_INITIALIZED 

Status string of initialized simulation (program loaded).

TXT_STATUS_NOT_INITIALIZED 

Status string of non-initialized simulation (program not loaded).

TXT_STOPREASON_BREAKPOINT 

Stop reason: breakpoint.

TXT_STOPREASON_DELETED_BREAKPOINT 

Stop reason: temporary breakpoint.

TXT_STOPREASON_UNTIL 

Stop reason: until.

TXT_STOPREASON_TIMEOUT 

Stop reason: timeout

TXT_STOPREASON_STEPPING 

Stop reason: stepping.

TXT_STOPREASON_USERREQUEST 

Stop reason: user requested.

TXT_STOPREASON_RUNTIME_ERROR 

Stop reason: user requested.

TXT_LABEL_NOT_FOUND 
TXT_ILLEGAL_ADDRESS_EXPRESSION 
TXT_BREAKPOINT_NOT_FOUND 
TXT_INTERP_ENTER_CONDITION_PROMPT 
TXT_INTERP_ENTER_EXPRESSION_PROMPT 
TXT_EXPRESSION_EMPTY 
TXT_CONFIRM_DELETE_ALL_BREAKPOINTS 
TXT_CONFIRM_KILL_SIMULATION 
TXT_ADDRESS_OUT_OF_RANGE 
TXT_ADDRESS_SPACE_NOT_FOUND 
TXT_NOT_RUNNING_PARALLEL_SIMULATION 
TXT_UNABLE_TO_LOAD_PROGRAM 
TXT_UNABLE_TO_LOAD_MACHINE 
TXT_NO_ADDRESS_SPACE_GIVEN 
TXT_INTERP_SETTING_PROCEDURE_TRANSFER_TRACKING 
TXT_INTERP_SETTING_MEMORY_ACCESS_TRACKING 
TXT_INTERP_SETTING_UTILIZATION_SAVING 
TXT_INTERP_SETTING_PROFILE_SAVING 
TXT_NO_PROGRAM_LOADED 
TXT_AUTOMATIC_FINISH_IMPOSSIBLE 
TXT_STARTUP_SETTINGS_CHANGED_WARNING 

Definition at line 50 of file SimulatorTextGenerator.hh.

50 {
60 ///< Help text for command "prog" of the CLI.
62 ///< Help text for command "mach" of the CLI.
64 ///< Help text for command "conf" of the CLI.
66 ///< Help text for command "quit" of the CLI.
68 ///< Help text for command "disassemble" of the CLI.
70 ///< Help text for command "run" of the CLI.
72 ///< Help text for command "stepi" of the CLI.
74 ///< Help text for command "commands" of the CLI.
76 ///< Help text for command "stepi" of the CLI.
78 ///< Help text for command "setting" of the CLI.
80 ///< Help text for command "resume" of the CLI.
82 ///< Help text for command "help" of the CLI.
84 ///< Help text for command "info" of the CLI.
86 ///< Help text for command "bp" of the CLI.
88 ///< Help text for command "watch" of the CLI.
90 ///< Help text for command "tbp" of the CLI.
92 ///< Help text for command "condition" of the CLI.
94 ///< Help text for command "ignore" of the CLI.
96 ///< Help text for command "deletebp" of the CLI.
98 ///< Help text for command "enablebp" of the CLI.
100 ///< Help text for command "disablebp" of the CLI.
102 ///< Help text for command "nexti" of the CLI.
104 ///< Help text for command "kill" of the CLI.
106 ///< Help text for command "x" of the CLI.
108 ///< Help text for command "load_data" of the CLI.
110 ///< Online help text.
113 ///< Text of the exception thrown when Immediate Unit state could not
114 /// be found and there is instruction referring to it.
116 ///< Text of the exception thrown when the terminal type of a move is
117 /// not regocnized.
119 ///< Text of the exception thrown when RegisterFileState could not
120 /// be found and there is instruction referring to it.
122 ///< Text of the exception thrown when FUPortState could not
123 /// be found and there is instruction referring to it.
125 ///< Text of the exception thrown when FUPortState could not
126 /// be found and there is instruction referring to it.
128 ///< Text of the exception thrown when a port to be written is an
129 /// opcode setting port and no opcode is found in the move.
132 ///< Text to be printed when simulation is not initialized and
133 /// it should be.
135 ///< Text to be printed when simulation is already running and
136 /// it should not be.
138 ///< Text to be printed when simulation is not running and
139 /// it should be.
141 ///< Text to be printed when simulation has not ended and
142 /// it should be.
144 ///< In case user tried to set a setting with illegal parameter.
153 ///< Description of the execution trace setting.
155 ///< Description of the simulation time statistics setting
157 ///< Simulation timeout in seconds
159 ///< Use static compilation when using compiled simulator
161 ///< Description of the execution trace setting.
163 ///< Status string of stopped simulation.
165 ///< Status string of a finished simulation.
167 ///< Status string of initialized simulation (program loaded).
169 ///< Status string of non-initialized simulation (program not loaded).
171 ///< Stop reason: breakpoint.
173 ///< Stop reason: temporary breakpoint.
175 ///< Stop reason: until.
177 ///< Stop reason: timeout
179 ///< Stop reason: stepping.
181 ///< Stop reason: user requested.
183 ///< Stop reason: user requested.
205 };
@ TXT_INTERP_SETTING_HISTORY_SIZE
Description of the execution trace setting.
@ TXT_ILLEGAL_PROGRAM_IU_STATE_NOT_FOUND
Text of the exception thrown when Immediate Unit state could not be found and there is instruction re...
@ TXT_STATUS_INITIALIZED
Status string of initialized simulation (program loaded).
@ TXT_INTERP_HELP_ENABLEBP
Help text for command "enablebp" of the CLI.
@ TXT_INTERP_HELP_RESUME
Help text for command "resume" of the CLI.
@ TXT_CLI_ONLINE_HELP
Online help text.
@ TXT_INTERP_HELP_DISASSEMBLE
Help text for command "disassemble" of the CLI.
@ TXT_STATIC_COMPILATION
Use static compilation when using compiled simulator.
@ TXT_INTERP_HELP_HELP
Help text for command "help" of the CLI.
@ TXT_CONFIRM_DELETE_ALL_BREAKPOINTS
@ TXT_ILLEGAL_PROGRAM_BUS_STATE_NOT_FOUND
Text of the exception thrown when FUPortState could not be found and there is instruction referring t...
@ TXT_ILLEGAL_PROGRAM_OPCODE_NOT_FOUND
Text of the exception thrown when a port to be written is an opcode setting port and no opcode is fou...
@ TXT_INTERP_HELP_NEXTI
Help text for command "nexti" of the CLI.
@ TXT_INTERP_HELP_SETTING
Help text for command "setting" of the CLI.
@ TXT_INTERP_HELP_DELETEBP
Help text for command "deletebp" of the CLI.
@ TXT_SIMULATION_TIME_STATISTICS
Description of the simulation time statistics setting.
@ TXT_INTERP_HELP_CONF
Help text for command "conf" of the CLI.
@ TXT_INTERP_SETTING_PROFILE_SAVING
@ TXT_INTERP_SETTING_MEMORY_ACCESS_TRACKING
@ TXT_STATUS_STOPPED
Status string of stopped simulation.
@ TXT_STATUS_NOT_INITIALIZED
Status string of non-initialized simulation (program not loaded).
@ TXT_STOPREASON_TIMEOUT
Stop reason: timeout
@ TXT_INTERP_SIMULATION_NOT_INITIALIZED
Text to be printed when simulation is not initialized and it should be.
@ TXT_ILLEGAL_PROGRAM_UNKNOWN_MOVE_TERMINAL_TYPE
Text of the exception thrown when the terminal type of a move is not regocnized.
@ TXT_INTERP_HELP_WATCH
Help text for command "watch" of the CLI.
@ TXT_INTERP_HELP_COMMANDS_AVAILABLE
Description of the execution trace setting.
@ TXT_INTERP_HELP_UNTIL
Help text for command "stepi" of the CLI.
@ TXT_INTERP_HELP_INFO
Help text for command "info" of the CLI.
@ TXT_INTERP_SETTING_FU_CONFLICT_DETECTION
@ TXT_STARTUP_SETTINGS_CHANGED_WARNING
@ TXT_INTERP_HELP_TBREAK
Help text for command "tbp" of the CLI.
@ TXT_INTERP_SETTING_PROCEDURE_TRANSFER_TRACKING
@ TXT_INTERP_HELP_PROG
Help text for command "prog" of the CLI.
@ TXT_INTERP_HELP_LOADDATA
Help text for command "load_data" of the CLI.
@ TXT_STOPREASON_STEPPING
Stop reason: stepping.
@ TXT_STOPREASON_USERREQUEST
Stop reason: user requested.
@ TXT_INTERP_SETTING_NEXT_INSTRUCTION_PRINTING
@ TXT_ILLEGAL_PROGRAM_PORT_STATE_NOT_FOUND
Text of the exception thrown when FUPortState could not be found and there is instruction referring t...
@ TXT_SIMULATION_TIMEOUT
Simulation timeout in seconds.
@ TXT_INTERP_HELP_RUN
Help text for command "run" of the CLI.
@ TXT_INTERP_HELP_KILL
Help text for command "kill" of the CLI.
@ TXT_INTERP_HELP_MACH
Help text for command "mach" of the CLI.
@ TXT_INTERP_HELP_DISABLEBP
Help text for command "disablebp" of the CLI.
@ TXT_INTERP_HELP_IGNORE
Help text for command "ignore" of the CLI.
@ TXT_INTERP_ENTER_CONDITION_PROMPT
@ TXT_INTERP_ENTER_EXPRESSION_PROMPT
@ TXT_INTERP_HELP_COMMANDS
Help text for command "commands" of the CLI.
@ TXT_STOPREASON_RUNTIME_ERROR
Stop reason: user requested.
@ TXT_STOPREASON_DELETED_BREAKPOINT
Stop reason: temporary breakpoint.
@ TXT_NOT_RUNNING_PARALLEL_SIMULATION
@ TXT_INTERP_SIMULATION_NOT_ENDED
Text to be printed when simulation has not ended and it should be.
@ TXT_INTERP_SIMULATION_NOT_RUNNING
Text to be printed when simulation is not running and it should be.
@ TXT_INTERP_SETTING_UTILIZATION_SAVING
@ TXT_ILLEGAL_PROGRAM_RF_STATE_NOT_FOUND
Text of the exception thrown when RegisterFileState could not be found and there is instruction refer...
@ TXT_STOPREASON_UNTIL
Stop reason: until.
@ TXT_INTERP_SETTING_HISTORY_FILENAME
@ TXT_INTERP_HELP_CONDITION
Help text for command "condition" of the CLI.
@ TXT_INTERP_HELP_STEPI
Help text for command "stepi" of the CLI.
@ TXT_INTERP_SIMULATION_ALREDY_RUNNING
Text to be printed when simulation is already running and it should not be.
@ TXT_INTERP_HELP_BREAK
Help text for command "bp" of the CLI.
@ TXT_INTERP_HELP_QUIT
Help text for command "quit" of the CLI.
@ TXT_STOPREASON_BREAKPOINT
Stop reason: breakpoint.
@ TXT_INTERP_HELP_X
Help text for command "x" of the CLI.
@ TXT_STATUS_FINISHED
Status string of a finished simulation.
@ TXT_INTERP_SETTING_PARSE_ERROR
In case user tried to set a setting with illegal parameter.