mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 05:37:16 -04:00
🐛 Fix missing <32bit FP loads/stores in pkg
This commit is contained in:
parent
035a6b5a08
commit
b0d3c6a170
1 changed files with 4 additions and 4 deletions
|
@ -227,7 +227,7 @@ package ariane_pkg;
|
|||
function automatic logic is_rs2_fpr (input fu_op op);
|
||||
if (FP_PRESENT) begin // makes function static for non-fp case
|
||||
unique case (op) inside
|
||||
[FSD:FSW], // FP Stores
|
||||
[FSD:FSB], // FP Stores
|
||||
[FADD:FMIN_MAX], // Computational Operations (no sqrt)
|
||||
[FMADD:FNMADD], // Fused Computational Operations
|
||||
FSGNJ, // Sign Injections
|
||||
|
@ -253,7 +253,7 @@ package ariane_pkg;
|
|||
function automatic logic is_rd_fpr (input fu_op op);
|
||||
if (FP_PRESENT) begin // makes function static for non-fp case
|
||||
unique case (op) inside
|
||||
[FLD:FLW], // FP Loads
|
||||
[FLD:FLB], // FP Loads
|
||||
[FADD:FNMADD], // Computational Operations
|
||||
FCVT_I2F, // Int-Float Casts
|
||||
FCVT_F2F, // Float-Float Casts
|
||||
|
@ -274,8 +274,8 @@ package ariane_pkg;
|
|||
case (op)
|
||||
LD, SD, FLD, FSD : return 2'b11;
|
||||
LW, LWU, SW, FLW, FSW : return 2'b10;
|
||||
LH, LHU, SH : return 2'b01;
|
||||
LB, LBU, SB : return 2'b00;
|
||||
LH, LHU, SH, FLH, FSH : return 2'b01;
|
||||
LB, LBU, SB, FLB, FSB : return 2'b00;
|
||||
default : return 2'b11;
|
||||
endcase
|
||||
endfunction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue