diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-31 20:41:05 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-31 20:41:05 +0200 |
commit | f936893d4c5be40ebf1c7b6a9341ffce4c82ea03 (patch) | |
tree | d58365b9604154c66d202f104469a4094be1ebf3 /qtmips_gui/coreview/instructionview.h | |
parent | 8de3836bee7b844b75564f12b700c323c4f3d53b (diff) | |
download | qtmips-f936893d4c5be40ebf1c7b6a9341ffce4c82ea03.tar.gz qtmips-f936893d4c5be40ebf1c7b6a9341ffce4c82ea03.tar.bz2 qtmips-f936893d4c5be40ebf1c7b6a9341ffce4c82ea03.zip |
Set gray background to stalled instructions/idled stages.
This allows to easier identify unused pipeline stages.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/coreview/instructionview.h')
-rw-r--r-- | qtmips_gui/coreview/instructionview.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; }; } |