summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nordby <jononor@gmail.com>2025-05-14 20:23:29 +0200
committerJon Nordby <jononor@gmail.com>2025-05-14 20:23:29 +0200
commita00643178d038597315778ba5e13c356185f624d (patch)
tree377ed8d874435029b1dbc8ec92297350cdc71826
parent1da46af71f9f192d534886325d5ea530c78bee38 (diff)
cic3_pdm: Silence a warning from Verilator
-rw-r--r--cocotb_try/cic3_pdm.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/cocotb_try/cic3_pdm.v b/cocotb_try/cic3_pdm.v
index a8cc715..9c5f181 100644
--- a/cocotb_try/cic3_pdm.v
+++ b/cocotb_try/cic3_pdm.v
@@ -18,7 +18,11 @@ module cic3_pdm (
reg signed [31:0] integrator_2 = 0;
reg [5:0] decim_counter = 0;
- reg signed [31:0] comb_0 = 0, comb_1 = 0, comb_2 = 0;
+ reg signed [31:0] comb_0 = 0, comb_1 = 0;
+
+ /* verilator lint_off UNUSEDSIGNAL */
+ reg signed [31:0] comb_2 = 0;
+
reg signed [31:0] delay_0 = 0, delay_1 = 0, delay_2 = 0;
reg signed [15:0] pcm_out_r = 0;