Allow the formal engine to perform a same-cycle result in the ALU
[soc.git] / src / soc / fu / mul / test / test_pipe_caller.py
1 import unittest
2 from soc.fu.mul.test.helper import MulTestHelper
3
4 from openpower.test.mul.mul_cases import (MulTestCases2Arg,
5 MulTestCases3Arg)
6
7
8 class TestPipe(MulTestHelper):
9 def test_mul_pipe_2_arg(self):
10 self.run_all(MulTestCases2Arg().test_data, "mul_pipe_caller_2_arg",
11 has_third_input=False)
12
13 def test_mul_pipe_3_arg(self):
14 self.run_all(MulTestCases3Arg().test_data, "mul_pipe_caller_3_arg",
15 has_third_input=True)
16
17
18 if __name__ == "__main__":
19 unittest.main()