aboutsummaryrefslogtreecommitdiff
path: root/rv64cpu/tb/compliance/CMakeLists.txt
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-11-07 03:30:17 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-11-07 03:31:03 +0800
commit2a4c290c55b683352a16747432a7fc4635597cc6 (patch)
treea150caea2ade12af4c5dcd70f09bacd3318f4d43 /rv64cpu/tb/compliance/CMakeLists.txt
parente0948e3fc10029ba4bb4d48d7b5daae94fe575b9 (diff)
downloadrcc-project-2a4c290c55b683352a16747432a7fc4635597cc6.tar.gz
rcc-project-2a4c290c55b683352a16747432a7fc4635597cc6.tar.xz
refactor: reset software and test directories
Diffstat (limited to 'rv64cpu/tb/compliance/CMakeLists.txt')
-rw-r--r--rv64cpu/tb/compliance/CMakeLists.txt60
1 files changed, 0 insertions, 60 deletions
diff --git a/rv64cpu/tb/compliance/CMakeLists.txt b/rv64cpu/tb/compliance/CMakeLists.txt
deleted file mode 100644
index 677cae6..0000000
--- a/rv64cpu/tb/compliance/CMakeLists.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-# ─── Compliance Test CMake ───────────────────────────────────────────────────────
-#
-# Builds the compliance test runner and registers riscv-arch-test tests.
-#
-# ─────────────────────────────────────────────────────────────────────────────────
-
-# Minimal compliance runner target (core-only for bootstrap stage).
-# NOTE: This uses richard_core until SoC top and memory/peripheral harness are ready.
-add_verilator_target(
- NAME compliance_runner
- TOP_MODULE richard_core
- SOURCES ${RTL_CORE_DIR}/include/rv64_pkg.sv
- ${RTL_CORE_DIR}/alu.sv
- ${RTL_CORE_DIR}/branch_unit.sv
- ${RTL_CORE_DIR}/compressed_decoder.sv
- ${RTL_CORE_DIR}/decoder.sv
- ${RTL_CORE_DIR}/regfile.sv
- ${RTL_CORE_DIR}/fp_regfile.sv
- ${RTL_CORE_DIR}/if_stage.sv
- ${RTL_CORE_DIR}/if_id_reg.sv
- ${RTL_CORE_DIR}/id_stage.sv
- ${RTL_CORE_DIR}/id_ex_reg.sv
- ${RTL_CORE_DIR}/ex_stage.sv
- ${RTL_CORE_DIR}/fpu/fpu_unit.sv
- ${RTL_CORE_DIR}/ex_mem_reg.sv
- ${RTL_CORE_DIR}/mem_stage.sv
- ${RTL_CORE_DIR}/mem_wb_reg.sv
- ${RTL_CORE_DIR}/wb_stage.sv
- ${RTL_CORE_DIR}/hazard_unit.sv
- ${RTL_CORE_DIR}/include/csr_pkg.sv
- ${RTL_CORE_DIR}/csr_unit.sv
- ${RTL_CORE_DIR}/pmp_checker.sv
- ${RTL_CORE_DIR}/mmu/tlb.sv
- ${RTL_CORE_DIR}/mmu/ptw.sv
- ${RTL_CORE_DIR}/mmu/mmu_top.sv
- ${RTL_CORE_DIR}/trap_ctrl.sv
- ${RTL_CORE_DIR}/richard_core.sv
- INCLUDE_DIRS ${RTL_COMMON_INCLUDES}
- TB_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/compliance_runner.cc
- EXTRA_FLAGS -Wno-PINCONNECTEMPTY
-)
-
-# ─── Register individual compliance tests via CTest ──────────────────────────────
-# This is done dynamically by the compliance_runner binary and run_compliance.py.
-# You can also manually register tests like:
-#
-# set(RISCV_ARCH_TEST_DIR ${CMAKE_SOURCE_DIR}/sw/riscv-arch-test)
-#
-# file(GLOB RV64I_TESTS ${RISCV_ARCH_TEST_DIR}/riscv-test-suite/rv64i_m/I/src/*.S)
-# foreach(test_src ${RV64I_TESTS})
-# get_filename_component(test_name ${test_src} NAME_WE)
-# add_test(
-# NAME compliance_rv64i_${test_name}
-# COMMAND compliance_runner --test ${test_src}
-# )
-# set_tests_properties(compliance_rv64i_${test_name} PROPERTIES
-# LABELS "compliance;rv64i"
-# TIMEOUT 30
-# )
-# endforeach()