summaryrefslogtreecommitdiff
path: root/rtl/dma_axi32/prgen_joint_stall.v
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-02-28 16:44:15 -0600
committerAlejandro Soto <alejandro@34project.org>2024-03-03 20:42:36 -0600
commitcce507d21c86f20a83eec1b09fe3231399ffb10c (patch)
treecef497f3eb1767aeb9d8817adbbed467eac3b72d /rtl/dma_axi32/prgen_joint_stall.v
parent872349eb3a3a508abee028e75da546692eb8e0e7 (diff)
rtl/dma_axi32: fix verilator warnings
Diffstat (limited to 'rtl/dma_axi32/prgen_joint_stall.v')
-rw-r--r--rtl/dma_axi32/prgen_joint_stall.v14
1 files changed, 9 insertions, 5 deletions
diff --git a/rtl/dma_axi32/prgen_joint_stall.v b/rtl/dma_axi32/prgen_joint_stall.v
index 4adf703..447ca63 100644
--- a/rtl/dma_axi32/prgen_joint_stall.v
+++ b/rtl/dma_axi32/prgen_joint_stall.v
@@ -1,3 +1,5 @@
+// verilator lint_off WIDTHEXPAND
+// verilator lint_off WIDTHTRUNC
/////////////////////////////////////////////////////////////////////
//// ////
//// Author: Eyal Hochberg ////
@@ -84,9 +86,9 @@ module prgen_joint_stall(clk,reset,joint_req_out,rd_transfer,rd_transfer_size,ch
//count fullness of channel's fifo
always @(posedge clk or posedge reset)
if (reset)
- count_ch_fifo <= #1 3'd0;
+ count_ch_fifo <= 3'd0;
else if (joint_req_out & (rd_transfer_joint | ch_fifo_rd))
- count_ch_fifo <= #1 count_ch_fifo_pre;
+ count_ch_fifo <= count_ch_fifo_pre;
//prevent read channel to overflow the channel's fifo
assign joint_stall_pre = joint_req_out & ((count_ch_fifo_pre > 'd2) | ((count_ch_fifo_pre == 'd2) & (data_fullness_pre > 'd1)) | HOLD);
@@ -97,11 +99,11 @@ module prgen_joint_stall(clk,reset,joint_req_out,rd_transfer,rd_transfer_size,ch
always @(posedge clk or posedge reset)
if (reset)
- joint_stall_reg <= #1 1'b0;
+ joint_stall_reg <= 1'b0;
else if (joint_stall_pre)
- joint_stall_reg <= #1 1'b1;
+ joint_stall_reg <= 1'b1;
else if (count_ch_fifo_pre == 'd0)
- joint_stall_reg <= #1 1'b0;
+ joint_stall_reg <= 1'b0;
assign joint_stall = joint_stall_reg | (joint_req_out & HOLD);
@@ -132,3 +134,5 @@ endmodule
+// verilator lint_on WIDTHEXPAND
+// verilator lint_on WIDTHTRUNC