summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-21 11:59:13 -0400
committerbd <bdunahu@operationnull.com>2025-04-21 11:59:13 -0400
commit2553634f4d13c7349682e1a8cc3d4cfeb275458f (patch)
tree1cdb95849fc249012304467ccde4e29733b080af /gui
parent2b5ca09c90c5e091c094e9ed8f02079674b8aeda (diff)
parent4a19129e8499bc187ef6e296e050cc8a20bcc2d3 (diff)
Merge remote-tracking branch 'origin/master' into gui-next
Diffstat (limited to 'gui')
-rw-r--r--gui/gui.cc17
-rw-r--r--gui/gui.h17
-rw-r--r--gui/main.cc17
-rw-r--r--gui/worker.cc17
-rw-r--r--gui/worker.h21
5 files changed, 87 insertions, 2 deletions
diff --git a/gui/gui.cc b/gui/gui.cc
index 94ddd0e..3440916 100644
--- a/gui/gui.cc
+++ b/gui/gui.cc
@@ -1,3 +1,20 @@
+// Simulator for the RISC-V[ECTOR] mini-ISA
+// Copyright (C) 2025 Siddarth Suresh
+// Copyright (C) 2025 bdunahu
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
#include "gui.h"
#include "./ui_gui.h"
#include "dynamicwaysentry.h"
diff --git a/gui/gui.h b/gui/gui.h
index b7016ab..7c5b440 100644
--- a/gui/gui.h
+++ b/gui/gui.h
@@ -1,3 +1,20 @@
+// Simulator for the RISC-V[ECTOR] mini-ISA
+// Copyright (C) 2025 Siddarth Suresh
+// Copyright (C) 2025 bdunahu
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
#ifndef GUI_H
#define GUI_H
diff --git a/gui/main.cc b/gui/main.cc
index e865ba2..9877a3c 100644
--- a/gui/main.cc
+++ b/gui/main.cc
@@ -1,3 +1,20 @@
+// Simulator for the RISC-V[ECTOR] mini-ISA
+// Copyright (C) 2025 Siddarth Suresh
+// Copyright (C) 2025 bdunahu
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
#include "gui.h"
#include "logger.h"
#include "pipe_spec.h"
diff --git a/gui/worker.cc b/gui/worker.cc
index 43db5bd..ba0723e 100644
--- a/gui/worker.cc
+++ b/gui/worker.cc
@@ -1,3 +1,20 @@
+// Simulator for the RISC-V[ECTOR] mini-ISA
+// Copyright (C) 2025 Siddarth Suresh
+// Copyright (C) 2025 bdunahu
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
#include "worker.h"
#include "storage.h"
diff --git a/gui/worker.h b/gui/worker.h
index 20a9838..62c8d84 100644
--- a/gui/worker.h
+++ b/gui/worker.h
@@ -1,3 +1,20 @@
+// Simulator for the RISC-V[ECTOR] mini-ISA
+// Copyright (C) 2025 Siddarth Suresh
+// Copyright (C) 2025 bdunahu
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
#ifndef WORKER_H
#define WORKER_H
@@ -10,9 +27,9 @@
#include "mm.h"
#include "wb.h"
#include <QDebug>
+#include <QMutex>
#include <QObject>
#include <QThread>
-#include <QMutex>
#include <deque>
class Worker : public QObject
@@ -41,7 +58,7 @@ class Worker : public QObject
public:
explicit Worker(QObject *parent = nullptr);
~Worker();
- QMutex& get_ct_mutex() { return ct_mutex; }
+ QMutex &get_ct_mutex() { return ct_mutex; }
public slots:
void runSteps(int steps);