OpenASIP
2.0
|
#include <FUPortImplementationDialog.hh>
Public Member Functions | |
FUPortImplementationDialog (wxWindow *parent, wxWindowID id, HDB::FUPortImplementation &implementation, const TTAMachine::BaseFUPort &architecture) | |
virtual | ~FUPortImplementationDialog () |
virtual bool | TransferDataToWindow () |
Private Types | |
enum | { ID_LABEL_NAME = 10000, ID_NAME, ID_LABEL_ARCHITECTURE_PORT, ID_ARCHITECTURE_PORT_NAME, ID_LABEL_WIDTH, ID_WIDTH, ID_LOAD_PORT_LABEL, ID_LOAD_PORT, ID_GUARD_PORT_LABEL, ID_GUARD_PORT, ID_OPERAND_LIST, ID_LINE } |
Enumerated IDs for dialog widgets. More... | |
Private Member Functions | |
void | onOK (wxCommandEvent &event) |
wxSizer * | createContents (wxWindow *parent, bool call_fit, bool set_sizer) |
Creates the dialog contents. More... | |
Private Attributes | |
HDB::FUPortImplementation & | implementation_ |
FU port implementation to modify. More... | |
const TTAMachine::BaseFUPort & | architecture_ |
Architecture of the modified port. More... | |
wxString | name_ |
Name of the port. More... | |
wxString | loadPortName_ |
Name of the load port. More... | |
wxString | guardPortName_ |
Name of the guard port. More... | |
wxString | widthFormula_ |
Width formula string. More... | |
wxListCtrl * | operandList_ |
List widget for the operand bindings. More... | |
Dialog for editing FU port implementations.
Definition at line 49 of file FUPortImplementationDialog.hh.
|
private |
Enumerated IDs for dialog widgets.
Enumerator | |
---|---|
ID_LABEL_NAME | |
ID_NAME | |
ID_LABEL_ARCHITECTURE_PORT | |
ID_ARCHITECTURE_PORT_NAME | |
ID_LABEL_WIDTH | |
ID_WIDTH | |
ID_LOAD_PORT_LABEL | |
ID_LOAD_PORT | |
ID_GUARD_PORT_LABEL | |
ID_GUARD_PORT | |
ID_OPERAND_LIST | |
ID_LINE |
Definition at line 63 of file FUPortImplementationDialog.hh.
FUPortImplementationDialog::FUPortImplementationDialog | ( | wxWindow * | parent, |
wxWindowID | id, | ||
HDB::FUPortImplementation & | implementation, | ||
const TTAMachine::BaseFUPort & | architecture | ||
) |
The Constructor.
parent | Parent window of the dialog. |
id | Window identifier for the dialog window. |
implementation | FU port implementation to modify. |
architecthre | Architecture of the modified port. |
Definition at line 61 of file FUPortImplementationDialog.cc.
References assert, and WxConversion::toWxString().
|
virtual |
|
private |
Creates the dialog contents.
Creates the dialog contents.
Definition at line 199 of file FUPortImplementationDialog.cc.
|
private |
Event handler for the dialog OK-button.
Definition at line 164 of file FUPortImplementationDialog.cc.
References WxConversion::toString().
|
virtual |
Transfers data from the dialog attributes to the dialog widgets.
Definition at line 118 of file FUPortImplementationDialog.cc.
References assert, TTAMachine::HWOperation::io(), TTAMachine::HWOperation::isBound(), TTAMachine::ExecutionPipeline::isPortRead(), TTAMachine::ExecutionPipeline::isPortWritten(), TTAMachine::HWOperation::latency(), TTAMachine::HWOperation::name(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), TTAMachine::HWOperation::pipeline(), and WxConversion::toWxString().
|
private |
Architecture of the modified port.
Definition at line 84 of file FUPortImplementationDialog.hh.
|
private |
Name of the guard port.
Definition at line 91 of file FUPortImplementationDialog.hh.
|
private |
FU port implementation to modify.
Definition at line 82 of file FUPortImplementationDialog.hh.
|
private |
Name of the load port.
Definition at line 89 of file FUPortImplementationDialog.hh.
|
private |
Name of the port.
Definition at line 87 of file FUPortImplementationDialog.hh.
|
private |
List widget for the operand bindings.
Definition at line 96 of file FUPortImplementationDialog.hh.
|
private |
Width formula string.
Definition at line 93 of file FUPortImplementationDialog.hh.