Connect display value button with VSRTLWidget
MODIFY
external/VSRTL
external/VSRTL
-Subproject commit a72c31b9188936f133f5b058ab4d98336b6f2afb
+Subproject commit 7d7ba3a02a02d9d75790669f50e1e1c51f10507f

MODIFY
src/processortab.cpp
src/processortab.cpp
@@ -119,7 +119,7 @@ void ProcessorTab::setupSimulatorActions() {
m_displayValuesAction = new QAction(tagIcon, "Display signal values", this);
m_displayValuesAction->setCheckable(true);
m_displayValuesAction->setChecked(false);
- connect(m_displayValuesAction, &QAction::triggered, this, &ProcessorTab::displayValues);
+ connect(m_displayValuesAction, &QAction::triggered, m_vsrtlWidget, &vsrtl::VSRTLWidget::setOutputPortValuesVisible);
m_toolbar->addAction(m_displayValuesAction);
const QIcon expandIcon = QIcon(":/icons/expand.svg");
@@ -187,10 +187,6 @@ void ProcessorTab::expandView() {
tmp_pipelineWidget->expandToView();
}
-void ProcessorTab::displayValues(bool checked) {
- tmp_pipelineWidget->displayAllValues(checked);
-}
-
void ProcessorTab::run() {
m_autoClockAction->setChecked(false);
auto pipeline = Pipeline::getPipeline();

MODIFY
src/processortab.h
src/processortab.h
@@ -51,7 +51,6 @@ public slots:
private slots:
void expandView();
- void displayValues(bool checked);
void clock();
void setCurrentInstruction(int row);
void showPipeliningTable();

Connect display value button with VSRTLWidget