mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
added explanation
This commit is contained in:
parent
eb777d3fa4
commit
0c0949e82b
@ -146,7 +146,8 @@ module fround import cvw::*; #(parameter cvw_t P) (
|
|||||||
packoutput #(P) packoutput(W, Fmt, FRound); // pack and NaN-box based on selected format.
|
packoutput #(P) packoutput(W, Fmt, FRound); // pack and NaN-box based on selected format.
|
||||||
|
|
||||||
// Flags
|
// Flags
|
||||||
assign FRoundNV = XSNaN; // invalid if input is signaling NaN
|
assign FRoundNV = XSNaN; // invalid if input is signaling NaN
|
||||||
assign FRoundNX = ZfaFRoundNX & ~EgeNf & (Rp | Tp) & ~XNaN; // Inexact if Round or Sticky bit set for FRoundNX instruction
|
assign FRoundNX = ZfaFRoundNX & ~EgeNf & (Rp | Tp) & ~XNaN; // Inexact if Round or Sticky bit set for FRoundNX instruction
|
||||||
|
// Note: NX must not be raised if input is invalid
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
Loading…
Reference in New Issue
Block a user