aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/memory.cpp')
-rw-r--r--qtmips_gui/coreview/memory.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/qtmips_gui/coreview/memory.cpp b/qtmips_gui/coreview/memory.cpp
index 8f1669d..a2e5899 100644
--- a/qtmips_gui/coreview/memory.cpp
+++ b/qtmips_gui/coreview/memory.cpp
@@ -53,8 +53,8 @@ ProgramMemory::ProgramMemory(machine::QtMipsMachine *machine) : Memory(machine)
cache = machine->config().cache_program().enabled();
set_type("Program");
- con_address = new Connector(0);
- con_inst = new Connector(M_PI);
+ con_address = new Connector(Connector::AX_X);
+ con_inst = new Connector(Connector::AX_X);
}
ProgramMemory::~ProgramMemory() {
@@ -81,11 +81,11 @@ DataMemory::DataMemory(machine::QtMipsMachine *machine) : Memory(machine) {
cache = machine->config().cache_data().enabled();
set_type("Data");
- con_address = new Connector(0);
- con_data_out = new Connector(M_PI);
- con_data_in = new Connector(0);
- con_req_write = new Connector(M_PI_2);
- con_req_read = new Connector(M_PI_2);
+ con_address = new Connector(Connector::AX_X);
+ con_data_out = new Connector(Connector::AX_X);
+ con_data_in = new Connector(Connector::AX_X);
+ con_req_write = new Connector(Connector::AX_X);
+ con_req_read = new Connector(Connector::AX_X);
}
DataMemory::~DataMemory() {