aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-03-15 23:34:41 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-03-15 23:34:41 +0800
commit7be2ce6efa87f67e53823cf4457db4903d7ef6ea (patch)
tree6595584c911eb152da4cd2f0b712a9e04a96c7d0
parentba535e24e0aaf2fcefa1196dc4d12ad241f349d3 (diff)
downloadrcc-project-7be2ce6efa87f67e53823cf4457db4903d7ef6ea.tar.gz
rcc-project-7be2ce6efa87f67e53823cf4457db4903d7ef6ea.tar.xz
License
-rw-r--r--rv64cpu/tb/unit/tb_alu.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/rv64cpu/tb/unit/tb_alu.cc b/rv64cpu/tb/unit/tb_alu.cc
index b783815..a9f10b1 100644
--- a/rv64cpu/tb/unit/tb_alu.cc
+++ b/rv64cpu/tb/unit/tb_alu.cc
@@ -1,3 +1,20 @@
+// Richard CPU
+// Copyright (C) 2026 Richard Qin
+// 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/>.
+
+// File path: tb/unit/tb_alu.cc
+// Description: ALU unit test
#include "Valu.h"
#include <cassert>
#include <cstdint>