diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-03-16 15:10:47 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-03-16 15:10:47 +0800 |
| commit | 161eb7764bb9054aa21080b5100a4e743ab91fd6 (patch) | |
| tree | bfe5e44e6074feee02368bc5954fc06cf714f1f0 /rv64cpu/tb/unit/tb_regfile.cc | |
| parent | ac1bfb6ae8253d71904a273b20a1d0e5d4803fd4 (diff) | |
| download | rcc-project-161eb7764bb9054aa21080b5100a4e743ab91fd6.tar.gz rcc-project-161eb7764bb9054aa21080b5100a4e743ab91fd6.tar.xz | |
format output
Diffstat (limited to 'rv64cpu/tb/unit/tb_regfile.cc')
| -rw-r--r-- | rv64cpu/tb/unit/tb_regfile.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rv64cpu/tb/unit/tb_regfile.cc b/rv64cpu/tb/unit/tb_regfile.cc index 2491eb6..3d08dd5 100644 --- a/rv64cpu/tb/unit/tb_regfile.cc +++ b/rv64cpu/tb/unit/tb_regfile.cc @@ -42,7 +42,9 @@ int main(int argc, char** argv) { dut->rs1_addr = 0; dut->rs2_addr = 0; - std::cout << "Starting register file unit test" << std::endl; + std::cout << "----------------------------------" << std::endl; + std::cout << " Register File Unit Test" << std::endl; + std::cout << "----------------------------------" << std::endl; // Test 1: Reset dut->rst = 1; @@ -180,7 +182,9 @@ int main(int argc, char** argv) { assert(sweep_ok); std::cout << "\033[32m[PASS] All 31 mutable registers write/read successfully without collision\033[0m" << std::endl; - std::cout << "Register file unit test complete\033[0m" << std::endl; + std::cout << "----------------------------------" << std::endl; + std::cout << "\033[32mAll 8 tests passed!\033[0m" << std::endl; + std::cout << "----------------------------------" << std::endl; delete dut; exit(0); |
