diff options
author | bd <bdunahu@operationnull.com> | 2025-04-27 16:00:06 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-27 16:00:06 -0400 |
commit | 07c618096daec422c42ee1a379200101d0d349cc (patch) | |
tree | 3b4ee4e3d946620ff1fddb4f218c3ef3f07a2ecd /gui/gui.cc | |
parent | 64efd868deec8921eac16b181f3a2e6d29f90b99 (diff) |
Add files for new RegisterView class
Diffstat (limited to 'gui/gui.cc')
-rw-r--r-- | gui/gui.cc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -21,6 +21,7 @@ #include "dynamicwaysentry.h" #include "messages.h" #include "storageview.h" +#include "registerview.h" #include "util.h" #include <QHeaderView> #include <QPixmap> @@ -355,14 +356,15 @@ void GUI::make_tabs(int num) for (i = 0; i < num; ++i) { if (i == 0) { n = "Registers"; - e = new StorageView(0, this); + e = new RegisterView(GPR_NUM+V_NUM, V_R_LIMIT, this); } else if (i == num - 1) { n = "DRAM"; - e = new StorageView(MEM_LINES, this); + e = new StorageView(MEM_LINES, LINE_SIZE, this); } else { n = QString("L%1").arg(i); e = new StorageView( (1 << cache_size_mapper(this->curr_cache_levels - 1, i - 1)), + LINE_SIZE, this); } |