From 62cae1ab9fcd0735db2b47fca187b2165afe48b6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 16 Jul 2020 10:42:21 +0100 Subject: [PATCH] get branch compunit working (missing bigendian arg) --- src/soc/fu/compunits/test/test_branch_compunit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2