From d0a372c3112b28ff3b1bf03ff4a7a0e5a3cafe8e Mon Sep 17 00:00:00 2001 From: uvok Date: Tue, 30 Dec 2025 10:21:27 +0100 Subject: linting, use different naming use _tb.v instead of .tb.v, to stop verilator from shouting the module name doesn't match --- fifo.v | 1 + 1 file changed, 1 insertion(+) (limited to 'fifo.v') diff --git a/fifo.v b/fifo.v index 30b963e..bcc2d3f 100644 --- a/fifo.v +++ b/fifo.v @@ -27,6 +27,7 @@ localparam DATA_DEPTH_BITS = $clog2(DATA_DEPTH); // the -1 will make sure it fits /* verilator lint_off WIDTHTRUNC */ localparam [DATA_DEPTH_BITS-1:0] MAX_ADDRESS = (DATA_DEPTH - 1); +/* verilator lint_on WIDTHTRUNC */ // need to "count" to number *including* depth reg [$clog2(DATA_DEPTH + 1)-1:0] r_count; -- cgit v1.2.3