summaryrefslogtreecommitdiff
path: root/fifo.v
diff options
context:
space:
mode:
authoruvok2025-12-30 10:21:27 +0100
committeruvok2025-12-30 10:21:27 +0100
commitd0a372c3112b28ff3b1bf03ff4a7a0e5a3cafe8e (patch)
tree633ac83187da0a244d081e124d4cfba5c2b712c1 /fifo.v
parent613e0e72128d7745ab084f2f703984e154c75d67 (diff)
linting, use different naming
use _tb.v instead of .tb.v, to stop verilator from shouting the module name doesn't match
Diffstat (limited to 'fifo.v')
-rw-r--r--fifo.v1
1 files changed, 1 insertions, 0 deletions
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;