1 """ test of FPCVTMuxInOut
4 from ieee754
.fcvt
.pipeline
import FPCVTDownMuxInOut
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_16
import regressions
9 from sfpy
import Float64
, Float16
18 class TestFClassPipe(unittest
.TestCase
):
19 # FIXME: AttributeError: 'NextControl' object has no attribute 'ready_i'
20 @unittest.expectedFailure
21 def test_pipe_fp64_16(self
):
22 dut
= FPCVTDownMuxInOut(64, 16, 4)
23 run_pipe_fp(dut
, 64, "fcvt", unit_test_single
, Float64
,
24 regressions
, fcvt_16
, 100, True)
27 if __name__
== '__main__':