add bigendian flag
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 Jul 2020 22:13:44 +0000 (23:13 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 Jul 2020 22:13:44 +0000 (23:13 +0100)
src/soc/fu/compunits/test/test_alu_compunit.py

index d58dc61ee6c9bc815a3e81272989f3c6e68456bf..001f73922324c4cace171962646ac985b4443576 100644 (file)
@@ -7,12 +7,13 @@ from soc.fu.alu.test.test_pipe_caller import ALUTestCase # creates the tests
 from soc.fu.test.common import ALUHelpers
 from soc.fu.compunits.compunits import ALUFunctionUnit
 from soc.fu.compunits.test.test_compunit import TestRunner
+from soc.config.endian import bigendian
 
 
 class ALUTestRunner(TestRunner):
     def __init__(self, test_data):
         super().__init__(test_data, ALUFunctionUnit, self,
-                         Function.ALU)
+                         Function.ALU, bigendian)
 
     def get_cu_inputs(self, dec2, sim):
         """naming (res) must conform to ALUFunctionUnit input regspec