From a36a850f7d264b0e03882e2fefd35da0e12cdc7b Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Tue, 30 Apr 2024 17:27:21 +0200 Subject: [PATCH] fixup parity --- src/snitch_icache_lookup_serial.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snitch_icache_lookup_serial.sv b/src/snitch_icache_lookup_serial.sv index 0c821c1..31314c6 100644 --- a/src/snitch_icache_lookup_serial.sv +++ b/src/snitch_icache_lookup_serial.sv @@ -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] =