allow alias SimdSignal<-PartitionedSignal to allow tracking back through
[ieee754fpu.git] / src / ieee754 / fpmul / test / test_fpmul_pipe_32.py
1 """ test of FPMULMuxInOut
2 """
3
4 from ieee754.fpmul.pipeline import (FPMULMuxInOut,)
5 from ieee754.fpcommon.test.case_gen import run_pipe_fp
6 from ieee754.fpcommon.test import unit_test_single
7 from ieee754.fpmul.test.mul_data32 import regressions
8
9 from sfpy import Float32
10 from operator import mul
11
12
13 def test_pipe_fp32():
14 dut = FPMULMuxInOut(32, 4)
15 run_pipe_fp(dut, 32, "mul", unit_test_single, Float32,
16 regressions, mul, 10)
17
18
19 if __name__ == '__main__':
20 test_pipe_fp32()