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_decoder.cc | |
| parent | ac1bfb6ae8253d71904a273b20a1d0e5d4803fd4 (diff) | |
| download | rcc-project-161eb7764bb9054aa21080b5100a4e743ab91fd6.tar.gz rcc-project-161eb7764bb9054aa21080b5100a4e743ab91fd6.tar.xz | |
format output
Diffstat (limited to 'rv64cpu/tb/unit/tb_decoder.cc')
| -rw-r--r-- | rv64cpu/tb/unit/tb_decoder.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rv64cpu/tb/unit/tb_decoder.cc b/rv64cpu/tb/unit/tb_decoder.cc index 1fbb7be..aa6788c 100644 --- a/rv64cpu/tb/unit/tb_decoder.cc +++ b/rv64cpu/tb/unit/tb_decoder.cc @@ -52,9 +52,9 @@ int main(int argc, char** argv) { Verilated::commandArgs(argc, argv); Vdecoder* dut = new Vdecoder; - std::cout << "═══════════════════════════════════════════════" << std::endl; - std::cout << " Decoder Unit Test Suite" << std::endl; - std::cout << "═══════════════════════════════════════════════" << std::endl; + std::cout << "----------------------------------" << std::endl; + std::cout << " Decoder Unit Test" << std::endl; + std::cout << "----------------------------------" << std::endl; // 1. R-type: ADD x1, x2, x3 // funct7=0000000 rs2=00011 rs1=00010 funct3=000 rd=00001 op=0110011 @@ -285,13 +285,14 @@ int main(int argc, char** argv) { CHECK(dut, reg_write_en, 0, "Illegal"); // Results - std::cout << "═══════════════════════════════════════════════" << std::endl; + std::cout << "----------------------------------" << std::endl; if (fail_count == 0) { std::cout << "\033[32mAll " << test_count << " tests passed!\033[0m" << std::endl; } else { std::cout << "\033[31m" << fail_count << " check(s) FAILED out of " << test_count << " tests.\033[0m" << std::endl; } + std::cout << "----------------------------------" << std::endl; delete dut; return (fail_count > 0) ? 1 : 0; |
