1 """ test of FPCVTMuxInOut
4 from ieee754
.fcvt
.pipeline
import (FPCVTMuxInOut
,)
5 from ieee754
.fpcommon
.test
.case_gen
import run_pipe_fp
6 from ieee754
.fpcommon
.test
import unit_test_single
7 from ieee754
.fcvt
.test
.fcvt_data_64_32
import regressions
9 from sfpy
import Float64
, Float32
16 class TestFClassPipe(unittest
.TestCase
):
17 def test_pipe_fp64_32(self
):
18 dut
= FPCVTMuxInOut(64, 32, 4)
19 run_pipe_fp(dut
, 64, "fcvt", unit_test_single
, Float64
,
20 regressions
, fcvt_32
, 100, True)
22 if __name__
== '__main__':