Go to the documentation of this file.
34 #include <wx/docview.h>
72 view()->GetDocument())->getModel();
81 while (navigator.
hasItem(newName)) {
98 if (dialog.ShowModal() == wxID_OK) {
150 wxDocManager* manager = wxGetApp().docManager();
151 if (manager->GetCurrentView() != NULL) {
static const int DEFAULT_RF_SIZE
Default register file type.
static const int DEFAULT_RF_GUARD_LATENCY
Default local RF guard latency.
static const std::string CMD_SNAME_ADD_RF
Command name for the "Add Register File" command.
virtual std::string shortName() const
static std::string toString(const T &source)
void notifyObservers(bool modified=true)
#define assert(condition)
static const int DEFAULT_WIDTH
Default bit width.
bool hasItem(const std::string &name) const
void popFromStack(bool modified=false)
virtual RegisterFileNavigator registerFileNavigator() const
virtual void setMachine(Machine &mach)
static const std::string COMP_NEW_NAME_PREFIX_RF
Prefix for new register file names.
virtual AddRFCmd * create() const
static const int DEFAULT_RF_MAX_WRITES
Default maximum read ports while writing for a register file.
static const int DEFAULT_RF_MAX_READS
Default maximum read ports of register file.
wxWindow * parentWindow() const
TTAMachine::Machine * getMachine()