aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/cacheview.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-17 00:28:01 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-17 00:28:01 +0100
commit8b5298566773275b5c8423dace3396a325f38541 (patch)
treeec0a2fb675ad69beb992e7679849d609b7d91325 /qtmips_gui/cacheview.h
parent80cbe0dce0cb950a05a3221f612946364a25a198 (diff)
downloadqtmips-8b5298566773275b5c8423dace3396a325f38541.tar.gz
qtmips-8b5298566773275b5c8423dace3396a325f38541.tar.bz2
qtmips-8b5298566773275b5c8423dace3396a325f38541.zip
Correct word in block visualization in cache view.
The word index (column) has been erroneously used for set index value. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/cacheview.h')
-rw-r--r--qtmips_gui/cacheview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/cacheview.h b/qtmips_gui/cacheview.h
index 6e3a9b7..70e312b 100644
--- a/qtmips_gui/cacheview.h
+++ b/qtmips_gui/cacheview.h
@@ -53,7 +53,7 @@ public:
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
private slots:
- void cache_update(unsigned associat, unsigned set, bool valid, bool dirty, std::uint32_t tag, const std::uint32_t *data);
+ void cache_update(unsigned associat, unsigned set, unsigned col, bool valid, bool dirty, std::uint32_t tag, const std::uint32_t *data);
private:
unsigned tag, row, col;
@@ -72,7 +72,7 @@ public:
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
private slots:
- void cache_update(unsigned associat, unsigned set, bool valid, bool dirty, std::uint32_t tag, const std::uint32_t *data);
+ void cache_update(unsigned associat, unsigned set, unsigned col, bool valid, bool dirty, std::uint32_t tag, const std::uint32_t *data);
private:
bool islast;