Fixed spelling of precision

This commit is contained in:
David Harris 2024-01-16 10:26:00 -08:00
parent bb3a7850c4
commit abecc98563
4 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ module fctrl import cvw::*; #(parameter cvw_t P) (
input logic FDivBusyE, // is the divider busy
// instruction
input logic [31:0] InstrD, // the full instruction
input logic [6:0] Funct7D, // bits 31:25 of instruction - may contain percision
input logic [6:0] Funct7D, // bits 31:25 of instruction - may contain precision
input logic [6:0] OpD, // bits 6:0 of instruction
input logic [4:0] Rs2D, // bits 24:20 of instruction
input logic [2:0] Funct3D, // bits 14:12 of instruction - may contain rounding mode

View File

@ -70,8 +70,8 @@ module fcvt import cvw::*; #(parameter cvw_t P) (
assign IntToFp = OpCtrl[2];
// choose the ouptut format depending on the opperation
// - fp -> fp: OpCtrl contains the percision of the output
// - int -> fp: Fmt contains the percision of the output
// - fp -> fp: OpCtrl contains the precision of the output
// - int -> fp: Fmt contains the precision of the output
if (P.FPSIZES == 2)
assign OutFmt = IntToFp ? Fmt : (OpCtrl[1:0] == P.FMT);
else if (P.FPSIZES == 3 | P.FPSIZES == 4)

View File

@ -50,7 +50,7 @@ module fmashiftcalc import cvw::*; #(parameter cvw_t P) (
// calculate the sum's exponent
assign PreNormSumExp = FmaSe + {{P.NE+2-$unsigned($clog2(3*P.NF+5)){1'b1}}, ~FmaSCnt} + (P.NE+2)'(P.NF+3);
//convert the sum's exponent into the proper percision
//convert the sum's exponent into the proper precision
if (P.FPSIZES == 1) begin
assign NormSumExp = PreNormSumExp;
end else if (P.FPSIZES == 2) begin

View File

@ -128,8 +128,8 @@ module postprocess import cvw::*; #(parameter cvw_t P) (
assign NaNIn = XNaN|YNaN|ZNaN;
// choose the ouptut format depending on the opperation
// - fp -> fp: OpCtrl contains the percision of the output
// - otherwise: Fmt contains the percision of the output
// - fp -> fp: OpCtrl contains the precision of the output
// - otherwise: Fmt contains the precision of the output
if (P.FPSIZES == 2)
assign OutFmt = IntToFp|~CvtOp ? Fmt : (OpCtrl[1:0] == P.FMT);
else if (P.FPSIZES == 3 | P.FPSIZES == 4)