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}
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)