Change IEC to GC

This commit is contained in:
Chris Keilbart 2024-09-06 10:14:21 -07:00
parent 3644426863
commit 417812949c
4 changed files with 9 additions and 9 deletions

View file

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

View file

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

View file

@ -73,7 +73,7 @@ module litex_wrapper
FPU : 0,
CUSTOM : 0,
BR : 1,
IEC : 1
GC : 1
},
INCLUDE_IFENCE : 1,
INCLUDE_AMO : 1,

View file

@ -44,7 +44,7 @@ package nexys_config;
FPU : 1,
CUSTOM : 0,
BR : 1,
IEC : 1
GC : 1
},
INCLUDE_IFENCE : 0,
INCLUDE_AMO : 0,