1 """ test of FPCVTMuxInOut
4 from ieee754
.fcvt
.pipeline
import (FPCVTUpMuxInOut
,)
5 from ieee754
.fpcommon
.test
.case_gen
import run_pipe_fp
6 from ieee754
.fpcommon
.test
import unit_test_half
7 from ieee754
.fcvt
.test
.up_fcvt_data_16_32
import regressions
9 from sfpy
import Float64
, Float16
14 def test_pipe_fp16_64():
15 dut
= FPCVTUpMuxInOut(16, 64, 4)
16 run_pipe_fp(dut
, 16, "upfcvt", unit_test_half
, Float16
,
17 regressions
, fcvt_64
, 10, True)
19 if __name__
== '__main__':