soc.fu.shift_rot.test package

Submodules

soc.fu.shift_rot.test.test_maskgen module

class soc.fu.shift_rot.test.test_maskgen.MaskGenTestCase(methodName='runTest')

Bases: nmutil.formaltest.FHDLTestCase

test_ilang()
test_maskgen()

soc.fu.shift_rot.test.test_pipe_caller module

class soc.fu.shift_rot.test.test_pipe_caller.ShiftRotIlangCase

Bases: openpower.test.common.TestAccumulatorBase

case_ilang()
class soc.fu.shift_rot.test.test_pipe_caller.TestRunner(test_data)

Bases: unittest.case.TestCase

check_alu_outputs(alu, dec2, sim, code)
execute(alu, instruction, pdecode2, test)
run_all()
soc.fu.shift_rot.test.test_pipe_caller.get_cu_inputs(dec2, sim)

naming (res) must conform to ShiftRotFunctionUnit input regspec

soc.fu.shift_rot.test.test_pipe_caller.set_alu_inputs(alu, dec2, sim)

Module contents