OpenASIP 2.2
Loading...
Searching...
No Matches
SimulatorSettingsDialog.hh
Go to the documentation of this file.
1/*
2 Copyright (c) 2002-2009 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 SimulatorSettingsDialog.hh
26 *
27 * Declaration of SimulatorSettingsDialog class.
28 *
29 * @author Veli-Pekka Jääskeläinen 2005 (vjaaskel-no.spam-cs.tut.fi)
30 * @note rating: red
31 */
32
33#ifndef TTA_SIMULATOR_SETTINGS_DIALOG_HH
34#define TTA_SIMULATOR_SETTINGS_DIALOG_HH
35
36#include <wx/wx.h>
37
40
41/**
42 * Dialog for modifying simulator settings.
43 */
44class SimulatorSettingsDialog : public wxDialog {
45public:
47 wxWindow* parent,
48 wxWindowID id,
49 SimulatorFrontend& simulator,
50 ProximLineReader& lineReader);
52
53private:
54 virtual bool TransferDataToWindow();
55 wxSizer* createContents(wxWindow* parent, bool set_sizer, bool call_fit);
56 void onOK(wxCommandEvent& event);
57
58 /// Widget IDs.
59 enum {
74 };
75
76 /// Frontend of the simulator to configure.
78 /// Line reader to configure
80
81 /// Execution trace enabled/disabled.
83 /// Bus trace enabled/disabled.
85 /// Procedure transfer tracing enabled/disabled
87 /// Register file access tracing enabled/disabled.
89 /// FU conflict detection enabled/disabled.
91
92 /// Profile data saving enabled/disabled
94 /// Utilization data saving enabled/disabled
96 /// Next instruction printing enabled/disabled
98 /// Profile data saving enabled/disabled
100
101 /// Input history log file enabled/disabled.
103 /// History log max size.
105 /// History log file name.
106 wxString historyFile_;
107
108 DECLARE_EVENT_TABLE()
109};
110#endif
SimulatorFrontend & simulator_
Frontend of the simulator to configure.
bool execTrace_
Execution trace enabled/disabled.
bool historySave_
Input history log file enabled/disabled.
bool rfTrace_
Register file access tracing enabled/disabled.
ProximLineReader & lineReader_
Line reader to configure.
bool nextInstructionPrinting_
Next instruction printing enabled/disabled.
wxString historyFile_
History log file name.
bool fuConflictDetection_
FU conflict detection enabled/disabled.
bool ptTrace_
Procedure transfer tracing enabled/disabled.
bool simulationTimeStatistics_
Profile data saving enabled/disabled.
wxSizer * createContents(wxWindow *parent, bool set_sizer, bool call_fit)
bool busTrace_
Bus trace enabled/disabled.
bool profileDataSaving_
Profile data saving enabled/disabled.
int historySize_
History log max size.
void onOK(wxCommandEvent &event)
bool utilizationDataSaving_
Utilization data saving enabled/disabled.