diff --git a/src/fpu/fma/fmaexpadd.sv b/src/fpu/fma/fmaexpadd.sv index d6ef8844c..bb7bf2437 100644 --- a/src/fpu/fma/fmaexpadd.sv +++ b/src/fpu/fma/fmaexpadd.sv @@ -28,14 +28,14 @@ module fmaexpadd import cvw::*; #(parameter cvw_t P) ( input logic [P.NE-1:0] Xe, Ye, // input's exponents - input logic XZero, YZero, // are the inputs zero + input logic XZero, YZero, // are the inputs zero output logic [P.NE+1:0] Pe // product's exponent B^(1023)NE+2 ); - logic PZero; // is the product zero? + logic PZero; // is the product zero? // kill the exponent if the product is zero - either X or Y is 0 assign PZero = XZero | YZero; - assign Pe = PZero ? '0 : ({2'b0, Xe} + {2'b0, Ye} - {2'b0, (P.NE)'(P.BIAS)}); + assign Pe = PZero ? '0 : ({2'b0, Xe} + {2'b0, Ye} - {2'b0, (P.NE)'(P.BIAS)}); endmodule