From f936893d4c5be40ebf1c7b6a9341ffce4c82ea03 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 31 Mar 2019 20:41:05 +0200 Subject: Set gray background to stalled instructions/idled stages. This allows to easier identify unused pipeline stages. Signed-off-by: Pavel Pisa --- qtmips_gui/coreview/instructionview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qtmips_gui/coreview/instructionview.h') diff --git a/qtmips_gui/coreview/instructionview.h b/qtmips_gui/coreview/instructionview.h index bdcaf3c..59dfad2 100644 --- a/qtmips_gui/coreview/instructionview.h +++ b/qtmips_gui/coreview/instructionview.h @@ -52,12 +52,13 @@ public: public slots: void instruction_update(const machine::Instruction &i, std::uint32_t inst_addr, - machine::ExceptionCause excause); + machine::ExceptionCause excause, bool valid); private: QGraphicsSimpleTextItem text; machine::ExceptionCause excause; QColor bgnd; + bool valid; }; } -- cgit v1.2.3