From 8b5298566773275b5c8423dace3396a325f38541 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 17 Mar 2019 00:28:01 +0100 Subject: 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 --- qtmips_gui/cacheview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_gui/cacheview.h') 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; -- cgit v1.2.3