reasonably certain that the careful and slow use of little-endian data read/write
[soc.git] / src / soc / fu / ldst / test / test_pipe_caller.py
index 2c943c7ef11f35ca4a3141f294467379dbbd0b92..25e72c02bc931cbfa3b697382c22939d0d334da5 100644 (file)
@@ -94,12 +94,12 @@ class LDSTTestCase(FHDLTestCase):
         lst = ["sth 4, 0(2)",
                "lhz 4, 0(2)"]
         initial_regs = [0] * 32
-        initial_regs[1] = 0x0004
-        initial_regs[2] = 0x0002
+        initial_regs[1] = 0x1004
+        initial_regs[2] = 0x1002
         initial_regs[3] = 0x15eb
-        initial_mem = {0x0000: (0x5432123412345678, 8),
-                       0x0008: (0xabcdef0187654321, 8),
-                       0x0020: (0x1828384822324252, 8),
+        initial_mem = {0x1000: (0x5432123412345678, 8),
+                       0x1008: (0xabcdef0187654321, 8),
+                       0x1020: (0x1828384822324252, 8),
                         }
         self.run_tst_program(Program(lst), initial_regs,
                              initial_mem=initial_mem)