From: Luke Kenneth Casson Leighton Date: Mon, 15 Jul 2019 16:42:46 +0000 (+0100) Subject: run just a tad more fp upconverts X-Git-Tag: ls180-24jan2020~835 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27e3a7adc71e9894fd5e320d7724c0ba8b08133a;p=ieee754fpu.git run just a tad more fp upconverts --- diff --git a/src/ieee754/fcvt/test/test_fcvt_up_pipe.py b/src/ieee754/fcvt/test/test_fcvt_up_pipe.py index 31c38a7c..1290195a 100644 --- a/src/ieee754/fcvt/test/test_fcvt_up_pipe.py +++ b/src/ieee754/fcvt/test/test_fcvt_up_pipe.py @@ -15,20 +15,21 @@ def fcvt_32(x): def test_down_pipe_fp16_32(): dut = FPCVTUpMuxInOut(16, 32, 4) runfp(dut, 16, "test_fcvt_down_pipe_fp16_32", Float16, fcvt_32, True, - n_vals=1000) + n_vals=100) def test_down_pipe_fp16_64(): dut = FPCVTUpMuxInOut(16, 64, 4) runfp(dut, 16, "test_fcvt_down_pipe_fp16_64", Float16, fcvt_64, True, - n_vals=1000) + n_vals=100) def test_down_pipe_fp32_64(): dut = FPCVTUpMuxInOut(32, 64, 4) runfp(dut, 32, "test_fcvt_down_pipe_fp32_64", Float32, fcvt_64, True, - n_vals=1000) + n_vals=100) if __name__ == '__main__': - test_down_pipe_fp16_32() - test_down_pipe_fp16_64() - test_down_pipe_fp32_64() + for i in range(200): + test_down_pipe_fp16_32() + test_down_pipe_fp16_64() + test_down_pipe_fp32_64()