Skip to content

Commit

Permalink
fixup parity
Browse files Browse the repository at this point in the history
  • Loading branch information
micprog committed Apr 30, 2024
1 parent 897e1a7 commit a36a850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snitch_icache_lookup_serial.sv
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ module snitch_icache_lookup_serial import snitch_icache_pkg::*; #(
assign lookup_addr = {tag_rsp.cset, tag_req_q.addr[CFG.LINE_ALIGN +: CFG.COUNT_ALIGN]};
assign write_addr = {write_set_i, write_addr_i};

localparam LineParitySplit = CFG.LINE_WIDTH/CFG.L1_DATA_PARITY_BITS;
localparam int unsigned LineParitySplit = CFG.LINE_WIDTH/CFG.L1_DATA_PARITY_BITS;
if (CFG.L1_DATA_PARITY_BITS>0) begin : gen_wdata_parity
for (genvar i = 0; i < CFG.L1_DATA_PARITY_BITS; i++) begin : gen_wdata_parity_individual
assign data_wdata[CFG.LINE_WIDTH+CFG.L1_DATA_PARITY_BITS-1-i] =
Expand Down

0 comments on commit a36a850

Please sign in to comment.