minor update

This commit is contained in:
Blaise Tine 2024-03-25 14:53:03 -07:00
parent 74368ab65a
commit 896aa6b2a1
5 changed files with 8 additions and 7 deletions

View file

@ -57,10 +57,10 @@ module VX_fcvt_unit import VX_fpu_pkg::*; #(
// Input processing
fclass_t fclass;
VX_fpu_class #(
VX_fp_classifier #(
.EXP_BITS (EXP_BITS),
.MAN_BITS (MAN_BITS)
) fp_class (
) fp_classifier (
.exp_i (dataa[INT_WIDTH-2:MAN_BITS]),
.man_i (dataa[MAN_BITS-1:0]),
.clss_o (fclass)
@ -218,7 +218,7 @@ module VX_fcvt_unit import VX_fpu_pkg::*; #(
wire rounded_sign_s2;
// Perform the rounding
VX_fpu_rounding #(
VX_fp_rounding #(
.DAT_WIDTH (32)
) fp_rounding (
.abs_value_i (pre_round_abs_s2),

View file

@ -63,7 +63,7 @@ module VX_fncp_unit import VX_fpu_pkg::*; #(
assign b_exponent = datab[30:23];
assign b_mantissa = datab[22:0];
VX_fpu_class #(
VX_fp_classifier #(
.EXP_BITS (EXP_BITS),
.MAN_BITS (MAN_BITS)
) fp_class_a (
@ -72,7 +72,7 @@ module VX_fncp_unit import VX_fpu_pkg::*; #(
.clss_o (a_fclass)
);
VX_fpu_class #(
VX_fp_classifier #(
.EXP_BITS (EXP_BITS),
.MAN_BITS (MAN_BITS)
) fp_class_b (

View file

@ -16,7 +16,7 @@
`ifdef FPU_DSP
module VX_fpu_class import VX_fpu_pkg::*; #(
module VX_fp_classifier import VX_fpu_pkg::*; #(
parameter MAN_BITS = 23,
parameter EXP_BITS = 8
) (

View file

@ -18,7 +18,7 @@
/// Modified port of rouding module from fpnew Libray
/// reference: https://github.com/pulp-platform/fpnew
module VX_fpu_rounding #(
module VX_fp_rounding #(
parameter DAT_WIDTH = 2 // Width of the abolute value, without sign bit
) (
// inputs

View file

@ -134,6 +134,7 @@ module VX_fpu_fma import VX_fpu_pkg::*; #(
.c (pe_data_in[i][64 +: 32]),
.q (pe_data_out[i][0 +: 32])
);
assign pe_data_out[i][32 +: `FP_FLAGS_BITS] = 'x;
end
assign has_fflags = 0;