Skip to content

Commit

Permalink
fixup! Add register port for L2 ECC mgr
Browse files Browse the repository at this point in the history
  • Loading branch information
micprog committed Jul 11, 2023
1 parent 1d7d570 commit 1f2a369
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hw/carfield.sv
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ reg_rsp_t [NumAsyncRegIdx-1:0] ext_reg_async_slv_data_in;

// External reg interface slaves (async)
// Currently for PLL and Padframe
for (genvar i = 0; i < 2; i++) begin
for (genvar i = 0; i < 2; i++) begin : gen_ext_reg_assign
assign ext_reg_async_slv_req_o[i] = ext_reg_async_slv_req_out[i];
assign ext_reg_async_slv_ack_in[i] = ext_reg_async_slv_ack_i[i];
assign ext_reg_async_slv_data_o[i] = ext_reg_async_slv_data_out[i];
Expand Down
6 changes: 3 additions & 3 deletions hw/carfield_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ typedef enum int {
PadframeIdx = 'd2, // async
L2EccIdx = 'd3 // async
} cheshire_reg_out_e;
localparam NumSyncRegIdx = PllIdx; // This only works if PllIdx is the first async reg
localparam NumAsyncRegIdx = 3;
localparam NumTotalRegIdx = NumSyncRegIdx + NumAsyncRegIdx;
localparam int unsigned NumSyncRegIdx = PllIdx; // This only works if PllIdx is the first async reg
localparam int unsigned NumAsyncRegIdx = 3;
localparam int unsigned NumTotalRegIdx = NumSyncRegIdx + NumAsyncRegIdx;

typedef enum doub_bt {
CarRegsBase = 'h0000_0000_2001_0000,
Expand Down

0 comments on commit 1f2a369

Please sign in to comment.