add endian
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 Jul 2020 21:53:19 +0000 (22:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 Jul 2020 21:53:19 +0000 (22:53 +0100)
src/soc/fu/compunits/test/test_ldst_compunit.py

index 7cbf6d90afc96464dac2ce0c94657edaab45f853..65a6be705a8fdb1f92849a614720b1aaac34ccd9 100644 (file)
@@ -6,12 +6,13 @@ from soc.fu.ldst.test.test_pipe_caller import LDSTTestCase, get_cu_inputs
 from soc.fu.compunits.compunits import LDSTFunctionUnit
 from soc.fu.compunits.test.test_compunit import TestRunner
 from soc.fu.test.common import ALUHelpers
+from soc.config.endian import bigendian
 
 
 class LDSTTestRunner(TestRunner):
     def __init__(self, test_data):
         super().__init__(test_data, LDSTFunctionUnit, self,
-                         Function.LDST)
+                         Function.LDST, bigendian)
 
     def get_cu_inputs(self, dec2, sim):
         """naming (res) must conform to LDSTFunctionUnit input regspec