From: Luke Kenneth Casson Leighton Date: Thu, 16 Jul 2020 10:18:05 +0000 (+0100) Subject: get shiftrot compunit working X-Git-Tag: div_pipeline~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7a941e3ca6b9ceb8a0f667efc8c7d10483fefed;p=soc.git get shiftrot compunit working --- 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