soc.fu.logical.test package

Submodules

soc.fu.logical.test.test_bperm module

Empty until I write the unit test

soc.fu.logical.test.test_countzero module

class soc.fu.logical.test.test_countzero.ZeroCounterTestCase(methodName='runTest')

Bases: nmutil.formaltest.FHDLTestCase

test_zerocounter()

soc.fu.logical.test.test_pipe_caller module

class soc.fu.logical.test.test_pipe_caller.LogicalIlangCase

Bases: openpower.test.common.TestAccumulatorBase

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

Bases: nmutil.formaltest.FHDLTestCase

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

naming (res) must conform to LogicalFunctionUnit input regspec

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

Module contents