OpenASIP
2.0
|
#include <RFArchitectureDialog.hh>
Public Member Functions | |
RFArchitectureDialog (wxWindow *parent, wxWindowID id, HDB::RFArchitecture &arch) | |
virtual | ~RFArchitectureDialog () |
Private Types | |
enum | { ID_LABEL_SIZE = 10000, ID_SIZE, ID_LABEL_WIDTH, ID_WIDTH, ID_LABEL_READ_PORTS, ID_READ_PORTS, ID_LABEL_WRITE_PORTS, ID_WRITE_PORTS, ID_LABEL_BIDIR_PORTS, ID_BIDIR_PORTS, ID_LABEL_MAX_READS, ID_MAX_READS, ID_LABEL_MAX_WRITES, ID_MAX_WRITES, ID_PARAM_WIDTH, ID_PARAM_SIZE, ID_GUARD_SUPPORT, ID_LINE, ID_ZERO_REGISTER } |
Widget IDs. More... | |
Private Member Functions | |
void | onOK (wxCommandEvent &event) |
wxSizer * | createContents (wxWindow *parent, bool call_fit, bool set_sizer) |
void | update () |
Private Attributes | |
HDB::RFArchitecture & | arch_ |
int | size_ |
int | width_ |
int | readPorts_ |
int | writePorts_ |
int | bidirPorts_ |
int | maxReads_ |
int | maxWrites_ |
int | latency_ |
bool | guardSupport_ |
bool | paramWidth_ |
bool | paramSize_ |
bool | zeroRegister_ |
Dialog for defining RF architecture paramters to HDB.
Definition at line 46 of file RFArchitectureDialog.hh.
|
private |
Widget IDs.
Definition at line 58 of file RFArchitectureDialog.hh.
RFArchitectureDialog::RFArchitectureDialog | ( | wxWindow * | parent, |
wxWindowID | id, | ||
HDB::RFArchitecture & | arch | ||
) |
The Constructor.
parent | Parent window of the dialog. |
id | Window identifier for the dialog. |
arch | Register file architecture to modify. |
Definition at line 51 of file RFArchitectureDialog.cc.
|
virtual |
|
private |
Creates the dialog contents.
Definition at line 134 of file RFArchitectureDialog.cc.
References ID_BIDIR_PORTS, ID_GUARD_SUPPORT, ID_LABEL_BIDIR_PORTS, ID_LABEL_MAX_READS, ID_LABEL_MAX_WRITES, ID_LABEL_READ_PORTS, ID_LABEL_SIZE, ID_LABEL_WIDTH, ID_LABEL_WRITE_PORTS, ID_LINE, ID_MAX_READS, ID_MAX_WRITES, ID_PARAM_SIZE, ID_PARAM_WIDTH, ID_READ_PORTS, ID_SIZE, ID_WIDTH, ID_WRITE_PORTS, and ID_ZERO_REGISTER.
|
private |
Event handler for the dialog OK-button.
Definition at line 107 of file RFArchitectureDialog.cc.
References arch_, bidirPorts_, guardSupport_, latency_, maxReads_, maxWrites_, paramSize_, paramWidth_, readPorts_, HDB::RFArchitecture::setBidirPortCount(), HDB::RFArchitecture::setGuardSupport(), HDB::RFArchitecture::setLatency(), HDB::RFArchitecture::setMaxReads(), HDB::RFArchitecture::setMaxWrites(), HDB::RFArchitecture::setReadPortCount(), HDB::RFArchitecture::setSize(), HDB::RFArchitecture::setWidth(), HDB::RFArchitecture::setWritePortCount(), HDB::RFArchitecture::setZeroRegister(), size_, width_, writePorts_, and zeroRegister_.
|
private |
|
private |
Definition at line 80 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 86 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 90 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 89 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 87 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 88 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 92 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 91 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 84 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 82 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 83 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 85 of file RFArchitectureDialog.hh.
Referenced by onOK().
|
private |
Definition at line 93 of file RFArchitectureDialog.hh.
Referenced by onOK().