Update fcvt.sv

Program clean up
This commit is contained in:
Harshini Srinath 2023-06-11 15:59:20 -07:00 committed by GitHub
parent aead7cbe49
commit e469e4fd20

View File

@ -1,4 +1,3 @@
///////////////////////////////////////////
// fcvt.sv
//
@ -96,7 +95,7 @@ module fcvt import cvw::*; #(parameter cvw_t P) (
// int -> fp : | positive integer | 00000... (if needed) |
// fp -> fp : | fraction | 00000... (if needed) |
assign LzcInFull = IntToFp ? {TrimInt, {P.CVTLEN-P.XLEN+1{1'b0}}} :
{Xm, {P.CVTLEN-P.NF{1'b0}}};
{Xm, {P.CVTLEN-P.NF{1'b0}}};
// used as shifter input in postprocessor
assign LzcIn = LzcInFull[P.CVTLEN-1:0];