diff --git a/core/cva5.sv b/core/cva5.sv index 4f21788..7bb8bee 100644 --- a/core/cva5.sv +++ b/core/cva5.sv @@ -546,13 +546,13 @@ module cva5 .decode_stage (decode), .issue_stage (issue), .issue_stage_ready (issue_stage_ready), - .unit_needed (unit_needed[IEC_ID]), - .uses_rs (unit_uses_rs[IEC_ID]), - .uses_rd (unit_uses_rd[IEC_ID]), + .unit_needed (unit_needed[GC_ID]), + .uses_rs (unit_uses_rs[GC_ID]), + .uses_rd (unit_uses_rd[GC_ID]), .instruction_issued (instruction_issued), .constant_alu (constant_alu), .rf (rf_issue.data), - .issue (unit_issue[IEC_ID]), + .issue (unit_issue[GC_ID]), .branch_flush (branch_flush), .local_gc_exception (exception[GC_EXCEPTION]), .exception (exception), diff --git a/core/types_and_interfaces/cva5_config.sv b/core/types_and_interfaces/cva5_config.sv index e84d6b1..9748f57 100644 --- a/core/types_and_interfaces/cva5_config.sv +++ b/core/types_and_interfaces/cva5_config.sv @@ -116,7 +116,7 @@ package cva5_config; //Additionally, writeback units must be grouped before non-writeback units localparam MAX_NUM_UNITS = 9; typedef struct packed { - bit IEC; + bit GC; bit BR; //End of Write-Back Units bit CUSTOM; @@ -129,7 +129,7 @@ package cva5_config; } units_t; typedef enum bit [$clog2(MAX_NUM_UNITS)-1:0] { - IEC_ID = 8, + GC_ID = 8, BR_ID = 7, //End of Write-Back Units (insert new writeback units here) CUSTOM_ID = 6, @@ -249,7 +249,7 @@ package cva5_config; FPU : 1, CUSTOM : 0, BR : 1, - IEC : 1 + GC : 1 }, INCLUDE_IFENCE : 1, diff --git a/examples/litex/litex_wrapper.sv b/examples/litex/litex_wrapper.sv index 196aaf7..cb9c4da 100755 --- a/examples/litex/litex_wrapper.sv +++ b/examples/litex/litex_wrapper.sv @@ -73,7 +73,7 @@ module litex_wrapper FPU : 0, CUSTOM : 0, BR : 1, - IEC : 1 + GC : 1 }, INCLUDE_IFENCE : 1, INCLUDE_AMO : 1, diff --git a/examples/nexys/nexys_config.sv b/examples/nexys/nexys_config.sv index 0d51116..a9658ba 100644 --- a/examples/nexys/nexys_config.sv +++ b/examples/nexys/nexys_config.sv @@ -44,7 +44,7 @@ package nexys_config; FPU : 1, CUSTOM : 0, BR : 1, - IEC : 1 + GC : 1 }, INCLUDE_IFENCE : 0, INCLUDE_AMO : 0,