Merge pull request #1058 from coreyqh/dev

Fixed rmm rounding mode bug
This commit is contained in:
Jordan Carlin 2024-11-03 16:16:29 -08:00 committed by GitHub
commit 21ca72a7d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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