soc.fu.mul.test package

Submodules

soc.fu.mul.test.helper module

class soc.fu.mul.test.helper.MulTestHelper(methodName='runTest')

Bases: unittest.case.TestCase

check_alu_outputs(alu, dec2, sim, code, pia_res)
execute(pdecode2, test, instruction, alu, has_third_input, sim)
run_all(test_data, file_name_prefix, has_third_input)
soc.fu.mul.test.helper.get_cu_inputs(dec2, sim)

naming (res) must conform to MulFunctionUnit input regspec

soc.fu.mul.test.helper.set_alu_inputs(alu, dec2, sim, has_third_input)

soc.fu.mul.test.test_pipe_caller module

class soc.fu.mul.test.test_pipe_caller.TestPipe(methodName='runTest')

Bases: soc.fu.mul.test.helper.MulTestHelper

test_mul_pipe_2_arg()
test_mul_pipe_3_arg()

soc.fu.mul.test.test_pipe_caller_long module

class soc.fu.mul.test.test_pipe_caller_long.TestPipeLong(methodName='runTest')

Bases: soc.fu.mul.test.helper.MulTestHelper

helper_3_arg(subtest_index)
test_all_values_covered()
test_mul_pipe_2_arg()
test_mul_pipe_3_arg_0()
test_mul_pipe_3_arg_1()
test_mul_pipe_3_arg_10()
test_mul_pipe_3_arg_11()
test_mul_pipe_3_arg_12()
test_mul_pipe_3_arg_13()
test_mul_pipe_3_arg_14()
test_mul_pipe_3_arg_15()
test_mul_pipe_3_arg_2()
test_mul_pipe_3_arg_3()
test_mul_pipe_3_arg_4()
test_mul_pipe_3_arg_5()
test_mul_pipe_3_arg_6()
test_mul_pipe_3_arg_7()
test_mul_pipe_3_arg_8()
test_mul_pipe_3_arg_9()

soc.fu.mul.test.test_pipe_ilang module

class soc.fu.mul.test.test_pipe_ilang.TestPipeIlang(methodName='runTest')

Bases: unittest.case.TestCase

test_ilang()
write_ilang()

Module contents