From: Luke Kenneth Casson Leighton Date: Tue, 30 Nov 2021 16:23:43 +0000 (+0000) Subject: let PowerDecode2 decide which operand class to use in test_core.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc29853aad121fa6b1ef5990569fb3e010ce796b;p=soc.git let PowerDecode2 decide which operand class to use in test_core.py this gets it to pick *all* fields --- diff --git a/src/soc/simple/test/test_core.py b/src/soc/simple/test/test_core.py index 43564ebe..29360688 100644 --- a/src/soc/simple/test/test_core.py +++ b/src/soc/simple/test/test_core.py @@ -221,7 +221,7 @@ class TestRunner(FHDLTestCase): cur_state = CoreState("cur") # current state (MSR/PC/SVSTATE) pdecode2 = PowerDecode2(None, state=cur_state, - opkls=IssuerDecode2ToOperand, + #opkls=IssuerDecode2ToOperand, svp64_en=True, # self.svp64_en, regreduce_en=False, #self.regreduce_en ) @@ -349,7 +349,7 @@ if __name__ == "__main__": #suite.addTest(TestRunner(CRTestCase().test_data)) #suite.addTest(TestRunner(ShiftRotTestCase().test_data)) #suite.addTest(TestRunner(LogicalTestCase().test_data)) - #suite.addTest(TestRunner(ALUTestCase().test_data)) + suite.addTest(TestRunner(ALUTestCase().test_data)) #suite.addTest(TestRunner(BranchTestCase().test_data)) runner = unittest.TextTestRunner()