diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-03-18 03:09:38 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-03-18 03:09:38 +0800 |
| commit | 48489af495086d794f1b57bbb62ea1d8aca86ac5 (patch) | |
| tree | 7ca1900f20416a20f13b4a8cf03661c8995d2786 /rv64cpu/tb/unit/tb_hazard_unit.cc | |
| parent | 2e6e4c0caa855131602f5a816968b90908baa2df (diff) | |
| download | rcc-project-48489af495086d794f1b57bbb62ea1d8aca86ac5.tar.gz rcc-project-48489af495086d794f1b57bbb62ea1d8aca86ac5.tar.xz | |
CPU Core: Assembles a 5-stage pipeline, 4 inter-stage registers, and Hazard Unit
Diffstat (limited to 'rv64cpu/tb/unit/tb_hazard_unit.cc')
| -rw-r--r-- | rv64cpu/tb/unit/tb_hazard_unit.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rv64cpu/tb/unit/tb_hazard_unit.cc b/rv64cpu/tb/unit/tb_hazard_unit.cc index 94dbeb6..69ebab9 100644 --- a/rv64cpu/tb/unit/tb_hazard_unit.cc +++ b/rv64cpu/tb/unit/tb_hazard_unit.cc @@ -1,5 +1,17 @@ // 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_hazard_unit.cc // Description: Hazard Unit testbench — exhaustive forwarding, stall, and flush tests |
