summaryrefslogtreecommitdiff
path: root/gui/worker.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-21 11:14:32 -0400
committerbd <bdunahu@operationnull.com>2025-04-21 11:14:32 -0400
commit4a19129e8499bc187ef6e296e050cc8a20bcc2d3 (patch)
tree190932f40e34e29a8854422aca6dfd54bf0bfe33 /gui/worker.h
parentdbf7e900336214041da8880d6986d59126c35a72 (diff)
Add licensing information
Diffstat (limited to 'gui/worker.h')
-rw-r--r--gui/worker.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/gui/worker.h b/gui/worker.h
index 8fde554..7512b9b 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
@@ -35,8 +52,8 @@ public slots:
void doWork();
void refreshDram();
void loadProgram(std::vector<signed int> p);
- void refreshCache();
- void refreshRegisters();
+ void refreshCache();
+ void refreshRegisters();
void runSteps(int steps);
void runStep();
@@ -53,4 +70,4 @@ signals:
void finished();
};
-#endif // WORKER_H \ No newline at end of file
+#endif // WORKER_H