from soc.regfile.regfiles import FastRegs
-from soc.decoder.power_enums import SPR
+from soc.decoder.power_enums import SPR, spr_dict
def fast_reg_to_spr(spr_num):
if spr_num == FastRegs.CTR:
from soc.decoder.power_decoder2 import PowerDecode2
from soc.decoder.selectable_int import SelectableInt
from soc.decoder.isa.all import ISA
-from soc.decoder.power_enums import Function, XER_bits
+from soc.decoder.power_enums import SPR, Function, XER_bits
from soc.config.test.test_loadstore import TestMemPspec
from soc.simple.core import NonProductionCore
check_sim_memory)
# test with ALU data and Logical data
-#from soc.fu.alu.test.test_pipe_caller import ALUTestCase
+from soc.fu.alu.test.test_pipe_caller import ALUTestCase
#from soc.fu.logical.test.test_pipe_caller import LogicalTestCase
#from soc.fu.shift_rot.test.test_pipe_caller import ShiftRotTestCase
#from soc.fu.cr.test.test_pipe_caller import CRTestCase
#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))
suite.addTest(TestRunner(SPRTestCase.test_data))