From: Luke Kenneth Casson Leighton Date: Tue, 7 Jul 2020 12:42:20 +0000 (+0100) Subject: add in SPR test cases into test_issuer.py X-Git-Tag: div_pipeline~162^2~14 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15d8ed616f35a6044968442758bfc19695f299bb;p=soc.git add in SPR test cases into test_issuer.py --- diff --git a/src/soc/fu/compunits/compunits.py b/src/soc/fu/compunits/compunits.py index 41f94245..55210173 100644 --- a/src/soc/fu/compunits/compunits.py +++ b/src/soc/fu/compunits/compunits.py @@ -200,7 +200,7 @@ class AllFunctionUnits(Elaboratable): units = pspec.units if not isinstance(units, dict): units = {'alu': 1, 'cr': 1, 'branch': 1, 'trap': 1, - #'spr': 1, TODO: spr regfile + 'spr': 1, 'logical': 1, 'mul': 1, 'div': 1, 'shiftrot': 1} diff --git a/src/soc/simple/test/test_issuer.py b/src/soc/simple/test/test_issuer.py index e9d72842..ec81aa7a 100644 --- a/src/soc/simple/test/test_issuer.py +++ b/src/soc/simple/test/test_issuer.py @@ -161,7 +161,7 @@ if __name__ == "__main__": suite.addTest(TestRunner(LogicalTestCase.test_data)) suite.addTest(TestRunner(ALUTestCase.test_data)) suite.addTest(TestRunner(BranchTestCase.test_data)) - #suite.addTest(TestRunner(SPRTestCase.test_data)) + suite.addTest(TestRunner(SPRTestCase.test_data)) runner = unittest.TextTestRunner() runner.run(suite)