Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike64.py
index 2cd67a5501c85148a97634ed969d76b6ae9aebe8..d0eaf5ce301e1b6340b175938e3d800b4841ef0a 100644 (file)
@@ -13,6 +13,8 @@ class spike64(targets.Target):
     harts = [spike64_hart()]
     openocd_config_path = "spike-1.cfg"
     timeout_sec = 30
+    implements_custom_test = True
 
     def create(self):
-        return testlib.Spike(self)
+        # 32-bit FPRs only
+        return testlib.Spike(self, isa="RV64IMAFC", progbufsize=0)