From 0c6e9dc770ba7787895e977da55005276a89a09f Mon Sep 17 00:00:00 2001 From: Corey Hickson Date: Sun, 3 Nov 2024 14:21:55 -0800 Subject: [PATCH] Fixed rmm rounding mode bug --- src/fpu/fround.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fpu/fround.sv b/src/fpu/fround.sv index 6c37d2973..b5c1b975e 100644 --- a/src/fpu/fround.sv +++ b/src/fpu/fround.sv @@ -126,7 +126,7 @@ module fround import cvw::*; #(parameter cvw_t P) ( 3'b001: RoundUp = 0; // RZ 3'b010: RoundUp = Xs & (Rp | Tp); // RN 3'b011: RoundUp = ~Xs & (Rp | Tp); // RP - 3'b101: RoundUp = Rp; // RNTA + 3'b100: RoundUp = Rp; // RNTA default: RoundUp = 0; // should never happen endcase