From dcbd4676f8c8be42904bf78dd881aa0974deb8e3 Mon Sep 17 00:00:00 2001 From: xiaofeibao-xjtu <1441675923@qq.com> Date: Wed, 13 Mar 2024 14:46:34 +0800 Subject: [PATCH] fix bug: vfdiv fp_format --- src/main/scala/yunsuan/vector/VectorFloatDivider.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/yunsuan/vector/VectorFloatDivider.scala b/src/main/scala/yunsuan/vector/VectorFloatDivider.scala index 3f830a7..00c91a5 100644 --- a/src/main/scala/yunsuan/vector/VectorFloatDivider.scala +++ b/src/main/scala/yunsuan/vector/VectorFloatDivider.scala @@ -1572,7 +1572,7 @@ class VectorFloatDividerR64() extends Module { Mux( is_vec_q & !fp_format_q_is_fp64, Mux( - fp_format_is_fp32, + fp_format_q_is_fp32, Cat(0.U(29.W), out_frac_post_0_f32_0), Cat(0.U(42.W), out_frac_post_0_f16_0) ),