from soc.decoder.selectable_int import SelectableInt
from soc.simulator.program import Program
from soc.decoder.isa.all import ISA
+from soc.config.endian import bigendian
from soc.fu.test.common import TestCase
0x0008: (0xabcdef0187654321, 8),
0x0020: (0x1828384822324252, 8),
}
- self.run_tst_program(Program(lst), initial_regs,
+ self.run_tst_program(Program(list, bigendian), initial_regs,
initial_mem=initial_mem)
def test_2_load_store(self):
0x0008: (0xabcdef0187654321, 8),
0x0020: (0x1828384822324252, 8),
}
- self.run_tst_program(Program(lst), initial_regs,
+ self.run_tst_program(Program(list, bigendian), initial_regs,
initial_mem=initial_mem)
def test_3_load_store(self):
0x0008: (0xabcdef0187654321, 8),
0x0020: (0x1828384822324252, 8),
}
- self.run_tst_program(Program(lst), initial_regs,
+ self.run_tst_program(Program(list, bigendian), initial_regs,
initial_mem=initial_mem)
def test_4_load_store_rev_ext(self):
0x0008: (0xabcdef0187654321, 8),
0x0020: (0x1828384822324252, 8),
}
- self.run_tst_program(Program(lst), initial_regs,
+ self.run_tst_program(Program(list, bigendian), initial_regs,
initial_mem=initial_mem)
def test_5_load_store_rev_ext(self):
0x0008: (0xabcdef0187654321, 8),
0x0020: (0x1828384822324252, 8),
}
- self.run_tst_program(Program(lst), initial_regs,
+ self.run_tst_program(Program(list, bigendian), initial_regs,
initial_mem=initial_mem)
def test_6_load_store_rev_ext(self):
0x0008: (0xabcdef0187654321, 8),
0x0020: (0x1828384822324252, 8),
}
- self.run_tst_program(Program(lst), initial_regs,
+ self.run_tst_program(Program(list, bigendian), initial_regs,
initial_mem=initial_mem)