Change Spike's RAM location to match the linker script
[riscv-tests.git] / debug / targets.py
index a69f43d91463924ccee841d7f9aaaac640710a7b..423ff6955f3c64cc968d6a44a2a203a902bc8463 100644 (file)
@@ -64,8 +64,8 @@ class Target(object):
 class SpikeTarget(Target):
     # pylint: disable=abstract-method
     directory = "spike"
-    ram = 0x80010000
-    ram_size = 5 * 1024 * 1024
+    ram = 0x10000000
+    ram_size = 0x10000000
     instruction_hardware_breakpoint_count = 4
     reset_vector = 0x1000
     openocd_config = "targets/%s/openocd.cfg" % directory
@@ -127,7 +127,7 @@ class FreedomU500SimTarget(Target):
     openocd_config = "targets/%s/openocd.cfg" % name
 
     def target(self):
-        return testlib.VcsSim(simv=self.sim_cmd, debug=False)
+        return testlib.VcsSim(sim_cmd=self.sim_cmd, debug=False)
 
 targets = [
         Spike32Target,