From: Luke Kenneth Casson Leighton Date: Thu, 16 Jul 2020 09:42:21 +0000 (+0100) Subject: get branch compunit working (missing bigendian arg) X-Git-Tag: div_pipeline~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62cae1ab9fcd0735db2b47fca187b2165afe48b6;p=soc.git get branch compunit working (missing bigendian arg) --- diff --git a/src/soc/fu/compunits/test/test_branch_compunit.py b/src/soc/fu/compunits/test/test_branch_compunit.py index 31e664c5..63d19680 100644 --- a/src/soc/fu/compunits/test/test_branch_compunit.py +++ b/src/soc/fu/compunits/test/test_branch_compunit.py @@ -6,6 +6,7 @@ from soc.fu.branch.test.test_pipe_caller import BranchTestCase, get_cu_inputs from soc.fu.compunits.compunits import BranchFunctionUnit from soc.fu.compunits.test.test_compunit import TestRunner +from soc.config.endian import bigendian from soc.regfile.util import fast_reg_to_spr # HACK! @@ -17,7 +18,7 @@ from soc.regfile.util import fast_reg_to_spr # HACK! class BranchTestRunner(TestRunner): def __init__(self, test_data): super().__init__(test_data, BranchFunctionUnit, self, - Function.BRANCH) + Function.BRANCH, bigendian) def get_cu_inputs(self, dec2, sim): """naming (res) must conform to BranchFunctionUnit input regspec