From d7a941e3ca6b9ceb8a0f667efc8c7d10483fefed Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 16 Jul 2020 11:18:05 +0100 Subject: [PATCH] get shiftrot compunit working --- src/soc/fu/compunits/test/test_shiftrot_compunit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/fu/compunits/test/test_shiftrot_compunit.py b/src/soc/fu/compunits/test/test_shiftrot_compunit.py index 1b8bf770..2931c542 100644 --- a/src/soc/fu/compunits/test/test_shiftrot_compunit.py +++ b/src/soc/fu/compunits/test/test_shiftrot_compunit.py @@ -4,6 +4,7 @@ from soc.decoder.power_enums import (XER_bits, Function) # XXX bad practice: use of global variables from soc.fu.shift_rot.test.test_pipe_caller import get_cu_inputs from soc.fu.shift_rot.test.test_pipe_caller import ShiftRotTestCase +from soc.config.endian import bigendian from soc.fu.compunits.compunits import ShiftRotFunctionUnit from soc.fu.compunits.test.test_compunit import TestRunner @@ -12,7 +13,7 @@ from soc.fu.compunits.test.test_compunit import TestRunner class ShiftRotTestRunner(TestRunner): def __init__(self, test_data): super().__init__(test_data, ShiftRotFunctionUnit, self, - Function.SHIFT_ROT) + Function.SHIFT_ROT, bigendian) def get_cu_inputs(self, dec2, sim): """naming (res) must conform to ShiftRotFunctionUnit input regspec -- 2.30.2