diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-15 13:13:56 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-15 13:13:56 +0100 |
commit | 5241e1d9733ea69a91d3f497bc794ce881ad49fd (patch) | |
tree | ed941cd505a82f81f9b39004a70087c5b900dc06 /qtmips_gui/coreview | |
parent | 4dc4726c80bab8192abfb2d881a69ef9f490754f (diff) | |
download | qtmips-5241e1d9733ea69a91d3f497bc794ce881ad49fd.tar.gz qtmips-5241e1d9733ea69a91d3f497bc794ce881ad49fd.tar.bz2 qtmips-5241e1d9733ea69a91d3f497bc794ce881ad49fd.zip |
Change how we configure cache and configure hazard unit
Diffstat (limited to 'qtmips_gui/coreview')
-rw-r--r-- | qtmips_gui/coreview/memory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qtmips_gui/coreview/memory.cpp b/qtmips_gui/coreview/memory.cpp index 13355db..cde1c72 100644 --- a/qtmips_gui/coreview/memory.cpp +++ b/qtmips_gui/coreview/memory.cpp @@ -18,9 +18,7 @@ Memory::Memory(machine::QtMipsMachine *machine) : QGraphicsObject(nullptr) { con_req_write = new Connector(M_PI_2); con_req_read = new Connector(M_PI_2); - if (machine->config().cache()) { - // TODO cache? - } + // TODO cache? name = new QGraphicsSimpleTextItem("Memory", this); QRectF name_box = name->boundingRect(); |