aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/cacheview.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-17 18:53:02 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-17 18:53:02 +0100
commit6312493089c8325fa6097fa7d77046bde7e75f2a (patch)
tree7dc103fdaa75d2268abba3d22f08d08dde660364 /qtmips_gui/cacheview.h
parentf44ecd1e02c0f4760124a95b5019f67d0e77ecb7 (diff)
downloadqtmips-6312493089c8325fa6097fa7d77046bde7e75f2a.tar.gz
qtmips-6312493089c8325fa6097fa7d77046bde7e75f2a.tar.bz2
qtmips-6312493089c8325fa6097fa7d77046bde7e75f2a.zip
Show corresponding memory word address in the cacheview.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/cacheview.h')
-rw-r--r--qtmips_gui/cacheview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/cacheview.h b/qtmips_gui/cacheview.h
index 6803e37..8e7a4fb 100644
--- a/qtmips_gui/cacheview.h
+++ b/qtmips_gui/cacheview.h
@@ -57,6 +57,7 @@ private slots:
std::uint32_t tag, const std::uint32_t *data, bool write);
private:
+ unsigned rows, columns;
unsigned tag, row, col;
unsigned s_tag, s_row, s_col;
unsigned width;