Skip to content

Commit 64d89d8

Browse files
Revert "regif: Move job-dep @ offset 0x40"
This reverts commit b748ba1.
1 parent b748ba1 commit 64d89d8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

rtl/ctrl/redmule_regif.rdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ addrmap redmule_regif {
261261
};
262262

263263
// HWPE control address map. Update inside HWPEs
264-
hwpe_ctrl_mandatory hwpe_ctrl @ 0x00;
265-
hwpe_ctrl_job_dep hwpe_job_dep @ 0x20;
266-
hwpe_ctrl_job_indep hwpe_job_indep @ 0x40;
264+
hwpe_ctrl_mandatory hwpe_ctrl @ 0x00;
265+
hwpe_ctrl_job_dep hwpe_job_dep @ 0x20;
266+
hwpe_ctrl_job_indep hwpe_job_indep;
267267

268268
};

rtl/ctrl/regif/redmule_regif.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ module redmule_regif #(
173173
decoded_reg_strb.hwpe_job_dep.marith1 = cpuif_req_masked & (cpuif_addr == 32'h30);
174174
decoded_reg_strb.hwpe_job_dep.marith2 = cpuif_req_masked & (cpuif_addr == 32'h34);
175175
decoded_reg_strb.hwpe_job_dep.mopcnt = cpuif_req_masked & (cpuif_addr == 32'h38) & !cpuif_req_is_wr;
176-
decoded_reg_strb.hwpe_job_indep.reserved = cpuif_req_masked & (cpuif_addr == 32'h40) & !cpuif_req_is_wr;
176+
decoded_reg_strb.hwpe_job_indep.reserved = cpuif_req_masked & (cpuif_addr == 32'h3c) & !cpuif_req_is_wr;
177177
decoded_err = (~is_valid_addr | is_invalid_rw) & decoded_req;
178178
end
179179

rtl/ctrl/regif/redmule_regif_pkg.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package redmule_regif_pkg;
55

66
localparam REDMULE_REGIF_DATA_WIDTH = 32;
77
localparam REDMULE_REGIF_MIN_ADDR_WIDTH = 32;
8-
localparam REDMULE_REGIF_SIZE = 'h44;
8+
localparam REDMULE_REGIF_SIZE = 'h40;
99

1010
typedef struct packed {
1111
logic [31:0] next;

0 commit comments

Comments
 (0)