Corrected wild jumps type to SupCnt

This commit is contained in:
Franz Fuchs
2021-06-23 15:36:45 +01:00
parent c9df8da1b1
commit 0c80ac30bb
2 changed files with 2 additions and 2 deletions

View File

@@ -1163,7 +1163,7 @@ module mkCore#(CoreId coreId)(Core);
//Vector #(16, Bit #(Report_Width)) trans_exe_evts_vec = to_large_vector (renameStage.events);
EventsTransExe transExe = renameStage.events;
Bit#(Report_Width) wildJumps = 0;
SupCnt wildJumps = 0;
for(Integer i = 0; i < valueof(AluExeNum); i = i+1) begin
let alu_events = coreFix.aluExeIfc[i].events;
wildJumps = wildJumps + alu_events.evt_WILD_JUMP;

View File

@@ -1123,7 +1123,7 @@ typedef TDiv#(SizeOf#(EventsCoreMem),Report_Width) EventsCoreMemElements;
typedef struct {
SupCnt evt_RENAMED_INST;
Bit#(Report_Width) evt_WILD_JUMP;
SupCnt evt_WILD_JUMP;
} EventsTransExe deriving (Bits, FShow);
typedef TDiv#(SizeOf#(EventsTransExe),SizeOf#(SupCnt)) EventsTransExeElements;
`endif