117029b36b0790a88489cca5f31270b7d32b4577
1 """ test of FPMULMuxInOut
4 from ieee754
.fpmul
.pipeline
import (FPMULMuxInOut
,)
5 from ieee754
.fpcommon
.test
.fpmux
import runfp
7 from sfpy
import Float32
, Float16
8 from operator
import mul
11 dut
= FPMULMuxInOut(16, 4)
12 runfp(dut
, 16, "test_fpmul_pipe_fp16", Float16
, mul
)
15 dut
= FPMULMuxInOut(32, 4)
16 runfp(dut
, 32, "test_fpmul_pipe_fp32", Float32
, mul
)
18 if __name__
== '__main__':