summaryrefslogtreecommitdiff
path: root/fifo.v
diff options
context:
space:
mode:
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;