Update Stage labels wrt. new label styling in VSRTL
MODIFY
external/VSRTL
external/VSRTL
-Subproject commit aa321cadb4dd9b03e31d2e45c551b5d4c873071e
+Subproject commit bd9e778a114fdcdb60442bfa2c98cd888e0d36ea

MODIFY
src/processortab.cpp
src/processortab.cpp
@@ -215,6 +215,7 @@ void ProcessorTab::loadProcessorToWidget(const Layout& layout) {
const auto& proc = ProcessorHandler::get()->getProcessor();
for (unsigned i = 0; i < proc->stageCount(); i++) {
auto* stagelabel = new vsrtl::Label("-", topLevelComponent);
+ stagelabel->setPointSize(14);
m_stageInstructionLabels[i] = stagelabel;
}
loadLayout(layout);
@@ -305,10 +306,10 @@ void ProcessorTab::updateInstructionLabels() {
QString instrString;
if (stageInfo.state != StageInfo::State::None) {
instrString = stageInfo.state == StageInfo::State::Flushed ? "nop (flush)" : "nop (stall)";
- instrLabel->setColor(Qt::red);
+ instrLabel->setDefaultTextColor(Qt::red);
} else if (stageInfo.stage_valid) {
instrString = ProcessorHandler::get()->parseInstrAt(stageInfo.pc);
- instrLabel->setColor(QColor());
+ instrLabel->setDefaultTextColor(QColor());
}
instrLabel->setText(instrString);
}

Update Stage labels wrt. new label styling in VSRTL