mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed formatting
This commit is contained in:
parent
1bc1a68210
commit
a697c89a2a
@ -54,13 +54,13 @@ module postprocess import cvw::*; #(parameter cvw_t P) (
|
|||||||
input logic CvtCs, // the result's sign
|
input logic CvtCs, // the result's sign
|
||||||
input logic [P.NE:0] CvtCe, // the calculated expoent
|
input logic [P.NE:0] CvtCe, // the calculated expoent
|
||||||
input logic CvtResSubnormUf, // the convert result is subnormal or underflows
|
input logic CvtResSubnormUf, // the convert result is subnormal or underflows
|
||||||
input logic [P.LOGCVTLEN-1:0] CvtShiftAmt,// how much to shift by
|
input logic [P.LOGCVTLEN-1:0] CvtShiftAmt, // how much to shift by
|
||||||
input logic ToInt, // is fp->int (since it's writting to the integer register)
|
input logic ToInt, // is fp->int (since it's writting to the integer register)
|
||||||
input logic [P.CVTLEN-1:0] CvtLzcIn, // input to the Leading Zero Counter (without msb)
|
input logic [P.CVTLEN-1:0] CvtLzcIn, // input to the Leading Zero Counter (without msb)
|
||||||
input logic IntZero, // is the integer input zero
|
input logic IntZero, // is the integer input zero
|
||||||
// final results
|
// final results
|
||||||
output logic [P.FLEN-1:0] PostProcRes,// postprocessor final result
|
output logic [P.FLEN-1:0] PostProcRes, // postprocessor final result
|
||||||
output logic [4:0] PostProcFlg,// postprocesser flags
|
output logic [4:0] PostProcFlg, // postprocesser flags
|
||||||
output logic [P.XLEN-1:0] FCvtIntRes // the integer conversion result
|
output logic [P.XLEN-1:0] FCvtIntRes // the integer conversion result
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ module postprocess import cvw::*; #(parameter cvw_t P) (
|
|||||||
logic [3*P.NF+5:0] FmaShiftIn; // fma shift input
|
logic [3*P.NF+5:0] FmaShiftIn; // fma shift input
|
||||||
logic [P.NE+1:0] NormSumExp; // exponent of the normalized sum not taking into account Subnormal or zero results
|
logic [P.NE+1:0] NormSumExp; // exponent of the normalized sum not taking into account Subnormal or zero results
|
||||||
logic FmaPreResultSubnorm; // is the result subnormal - calculated before LZA corection
|
logic FmaPreResultSubnorm; // is the result subnormal - calculated before LZA corection
|
||||||
logic [$clog2(3*P.NF+5)-1:0] FmaShiftAmt;// normalization shift amount for fma
|
logic [$clog2(3*P.NF+5)-1:0] FmaShiftAmt; // normalization shift amount for fma
|
||||||
// division singals
|
// division singals
|
||||||
logic [P.LOGNORMSHIFTSZ-1:0] DivShiftAmt; // divsqrt shif amount
|
logic [P.LOGNORMSHIFTSZ-1:0] DivShiftAmt; // divsqrt shif amount
|
||||||
logic [P.NORMSHIFTSZ-1:0] DivShiftIn; // divsqrt shift input
|
logic [P.NORMSHIFTSZ-1:0] DivShiftIn; // divsqrt shift input
|
||||||
|
Loading…
Reference in New Issue
Block a user