OpenASIP 2.2
Loading...
Searching...
No Matches
ProximConstants.cc
Go to the documentation of this file.
1/*
2 Copyright (c) 2002-2017 Tampere University.
3
4 This file is part of TTA-Based Codesign Environment (TCE).
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23 */
24/**
25 * @file ProximConstants.cc
26 *
27 * Implementation of ProximConstants class.
28 *
29 * @author Veli-Pekka Jääskeläinen 2005 (vjaaskel-no.spam-cs.tut.fi)
30 * @note rating: red
31 */
32
33#include "ProximConstants.hh"
34
35const std::string ProximConstants::COMMAND_NAME_OPEN_PROGRAM = "Open Program";
36const std::string ProximConstants::COMMAND_NAME_OPEN_MACHINE = "Open Machine";
37const std::string ProximConstants::COMMAND_NAME_CD = "CD";
39 "Clear Console";
40const std::string ProximConstants::COMMAND_NAME_SET_BP = "Set Breakpoint";
41const std::string ProximConstants::COMMAND_NAME_QUIT = "Quit";
42const std::string ProximConstants::COMMAND_NAME_ABOUT = "About";
43const std::string ProximConstants::COMMAND_NAME_RUN = "Run";
44const std::string ProximConstants::COMMAND_NAME_STEPI = "StepI";
45const std::string ProximConstants::COMMAND_NAME_NEXTI = "NextI";
46const std::string ProximConstants::COMMAND_NAME_UNTIL = "Until";
47const std::string ProximConstants::COMMAND_NAME_KILL = "Kill";
48const std::string ProximConstants::COMMAND_NAME_RESUME = "Resume";
50 "New Register Window";
52 "New Port Window";
54 "Simulator Settings";
55const std::string ProximConstants::COMMAND_NAME_EDIT_OPTIONS = "Options";
56const std::string ProximConstants::COMMAND_NAME_EXECUTE_FILE = "Execute File";
58 "Find";
59
60const std::string ProximConstants::SCL_LOAD_PROGRAM = "prog";
61const std::string ProximConstants::SCL_LOAD_MACHINE = "mach";
62const std::string ProximConstants::SCL_LOAD_CONF = "conf";
63const std::string ProximConstants::SCL_SET_BREAKPOINT = "bp";
64const std::string ProximConstants::SCL_SET_TEMP_BP = "tbp";
65const std::string ProximConstants::SCL_ADD_WATCH = "watch";
66const std::string ProximConstants::SCL_SET_CONDITION = "condition";
67const std::string ProximConstants::SCL_SET_IGNORE_COUNT = "ignore";
68const std::string ProximConstants::SCL_SET = "setting";
69const std::string ProximConstants::SCL_DELIM = ";";
70const std::string ProximConstants::SCL_QUIT = "quit";
71const std::string ProximConstants::SCL_RUN_UNTIL = "until";
72const std::string ProximConstants::SCL_NEXT_INSTRUCTION = "nexti";
73const std::string ProximConstants::SCL_STEP_INSTRUCTION = "stepi";
74const std::string ProximConstants::SCL_INFO_REGISTERS = "info registers";
75const std::string ProximConstants::SCL_INFO_IMMEDIATES = "info immediates";
76
77const std::string ProximConstants::SCL_SETTING_EXEC_TRACE = "execution_trace";
78const std::string ProximConstants::SCL_SETTING_BUS_TRACE = "bus_trace";
80 "procedure_transfer_tracking";
81const std::string ProximConstants::SCL_SETTING_RF_TRACE = "rf_tracking";
83 "fu_conflict_detection";
84
85const std::string ProximConstants::SCL_SETTING_HISTORY_SAVE = "history_save";
86const std::string ProximConstants::SCL_SETTING_HISTORY_SIZE = "history_size";
88 "history_filename";
89
91 "profile_data_saving";
93 "utilization_data_saving";
95 "next_instruction_printing";
97 "simulation_time_statistics";
98
99const std::string ProximConstants::MACH_WIN_FU_LABEL = "Function unit: ";
101 "Function Unit Port: ";
102
103const std::string ProximConstants::MACH_WIN_PORT_LABEL = "Port: ";
104const std::string ProximConstants::MACH_WIN_SOCKET_LABEL = "Socket: ";
105const std::string ProximConstants::MACH_WIN_BUS_LABEL = "Bus: ";
106const std::string ProximConstants::MACH_WIN_RF_LABEL = "Register file: ";
107const std::string ProximConstants::MACH_WIN_IU_LABEL = "Immediate unit: ";
108const std::string ProximConstants::MACH_WIN_GCU_LABEL = "Global Control Unit";
110 "Trigger count: ";
111const std::string ProximConstants::MACH_WIN_BUS_VALUE_LABEL = "Value: ";
112const std::string ProximConstants::MACH_WIN_BUS_WRITES_LABEL = "Bus writes: ";
114 "Socket writes: ";
115
117 "Operation executions: ";
118
119const std::string ProximConstants::MACH_WIN_PORTS_TITLE = "Ports:";
120const std::string ProximConstants::MACH_WIN_REGISTERS_TITLE = "Registers:";
122 "Immediate registers:";
123
125 _T("Component details:");
127 _T("Component utilization:");
128
129
130const std::string ProximConstants::CONFIGURATION_NAME = "proxim-configuration";
131const std::string ProximConstants::PROXIM_TITLE = "TTA Processor Simulator";
132const std::string ProximConstants::PROXIM_VERSION = "?.?";
133
134const wxString ProximConstants::PROXIM_COPYRIGHT =
135 _T("Portions of this program are copyright\n"
136 "\n"
137 "Xerces (c) 1999-2005 The Apache Software\n"
138 "wxWidgets (c) 1998 Julian Smart, Robert Roebling \n"
139 "Tcl (c) 1998-1999 by Scriptics Corporation\n"
140 "Editline (c) 1997 The NetBSD Foundation, Inc.\n"
141 "Boost C++ Libraries (c) 2003 Beman Dawes, David Abrahams\n"
142 "\n"
143 "For more information see User manual chapter \"Copyright notices\""
144 );
static const std::string SCL_SETTING_SIMULATION_TIME_STATISTICS
Name of the simulation time statistics setting.
static const std::string SCL_SETTING_FU_CONFLICT_DETECTION
Name of the fu conflict detection setting.
static const std::string COMMAND_NAME_SIMULATOR_SETTINGS
Name of the simulator settings command.
static const std::string MACH_WIN_BUS_LABEL
Label precing bus names in the machine state window.
static const std::string SCL_LOAD_PROGRAM
Command for loading a new program in the simulator.
static const std::string SCL_SET_CONDITION
Command for setting stop point condition in simulator control language.
static const std::string SCL_SETTING_HISTORY_SIZE
Name of the input history size setting.
static const std::string MACH_WIN_SOCKET_WRITES_LABEL
Label for the machine state window socket write count.
static const std::string COMMAND_NAME_NEW_REGISTER_WINDOW
Name of the new register window command.
static const std::string SCL_SETTING_HISTORY_FILE
Name of the input history file name setting.
static const std::string COMMAND_NAME_ABOUT
Name of the about command.
static const std::string COMMAND_NAME_RESUME
Name of the resume command.
static const std::string SCL_INFO_REGISTERS
Command for displaying register file info.
static const std::string SCL_SETTING_RF_TRACE
Name of the rf access trace setting.
static const std::string COMMAND_NAME_RUN
Name of the run command.
static const std::string SCL_SET_IGNORE_COUNT
Command for setting stop point ignore count.
static const std::string COMMAND_NAME_CD
Name of the change directory command.
static const std::string MACH_WIN_BUS_WRITES_LABEL
Label for the machine state window bus write count..
static const std::string MACH_WIN_RF_LABEL
Label precing register file names in the machine state window.
static const std::string SCL_LOAD_CONF
Command for loading a new machine configuration file in the simulator.
static const std::string COMMAND_NAME_OPEN_PROGRAM
Name of the open program command.
static const std::string PROXIM_VERSION
Version string.
static const std::string COMMAND_NAME_SET_BP
Name of the set breakpoint command.
static const std::string SCL_SETTING_EXEC_TRACE
Name of the execution trace setting.
static const std::string MACH_WIN_GCU_LABEL
Label for the global control unit in the machine state window.
static const std::string COMMAND_NAME_NEXTI
Name of the next instruction command.
static const std::string SCL_SETTING_UTILIZATION_DATA_SAVING
Name of the utilization data saving setting.
static const std::string MACH_WIN_BUS_VALUE_LABEL
Label for the machine state window bus value.
static const std::string SCL_RUN_UNTIL
Command for running until specified instruciton is encoutnered.
static const std::string COMMAND_NAME_KILL
Name of the kill command.
static const std::string SCL_SETTING_HISTORY_SAVE
Name of the input history saving setting,.
static const std::string SCL_STEP_INSTRUCTION
Command for stepping an instruction.
static const std::string COMMAND_NAME_EDIT_OPTIONS
Name of the edit options command.
static const std::string SCL_SETTING_BUS_TRACE
Name of the bus trace setting.
static const std::string SCL_SETTING_NEXT_INSTRUCTION_PRINTING
Name of the fu next insturction printing setting.
static const std::string SCL_SET
Command for configuring simulator settings.
static const std::string MACH_WIN_FU_LABEL
Label precing function unit names in the machine state window.
static const std::string SCL_QUIT
Command for quiting the simulation.
static const std::string MACH_WIN_TRIGGER_COUNT_LABEL
Trigger count label for the machine state window.
static const std::string SCL_DELIM
Command delimeter for the simulator commands.
static const std::string MACH_WIN_EXECUTION_COUNT_LABEL
Execution count title for the machine state window.
static const std::string COMMAND_NAME_CLEAR_CONSOLE
Name of the clear console command.
static const std::string SCL_NEXT_INSTRUCTION
Command for advancing simulation to the next instruction in the prog.
static const wxString MACH_WIN_DETAILS_TITLE
Execution count title for the machine state window.
static const std::string MACH_WIN_FU_PORT_LABEL
Label precing function unit port names in the machine state window.
static const std::string COMMAND_NAME_QUIT
Name of the quit command.
static const std::string MACH_WIN_PORTS_TITLE
Title for the machine state window ports list.
static const std::string SCL_SET_BREAKPOINT
Command for setting breakpoints in the simulator control language.
static const std::string MACH_WIN_REGISTERS_TITLE
Title for the machine state window register file register list.
static const std::string MACH_WIN_SOCKET_LABEL
Label precing socket names in the machine state window.
static const std::string CONFIGURATION_NAME
Configuration file top-level element name.
static const std::string MACH_WIN_IMMEDIATES_TITLE
Title for the machine state window immediate unit immediates list.
static const std::string SCL_INFO_IMMEDIATES
Command for displaying immediate unit info.
static const std::string SCL_LOAD_MACHINE
Command for loading a new machine in the simulator.
static const wxString PROXIM_COPYRIGHT
Copyright string.
static const std::string COMMAND_NAME_STEPI
Name of the step instruction command.
static const std::string MACH_WIN_PORT_LABEL
Label precing port names in the machine state window.
static const std::string COMMAND_NAME_FIND
Name of the find command.
static const std::string SCL_SETTING_PROCEDURE_TRANSFER_TRACE
Name of the procedure transfer trace setting.
static const std::string SCL_SET_TEMP_BP
Command for setting temporary breakpointss in the sim.con.language.
static const wxString MACH_WIN_UTILIZATION_TITLE
Execution count title for the machine state window.
static const std::string PROXIM_TITLE
Application title.
static const std::string COMMAND_NAME_EXECUTE_FILE
Name of the execute file command.
static const std::string COMMAND_NAME_UNTIL
Name of the until command.
static const std::string SCL_ADD_WATCH
Command for adding watches in the simulator control language.
static const std::string SCL_SETTING_PROFILE_DATA_SAVING
Name of the profile data saving setting.
static const std::string MACH_WIN_IU_LABEL
Label precing immediate unit names in the machine state window.
static const std::string COMMAND_NAME_OPEN_MACHINE
Name of the open machine command.
static const std::string COMMAND_NAME_NEW_PORT_WINDOW
Name of the new port window command.