File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ module descriptor_tx #(
105
105
assign data_len_words = TtiTxDescDataWidth ' (data_len >> 2 );
106
106
// Add 1 to depth, because there is one word in the Nto8 converter
107
107
assign tx_start = ~ tx_pending && descriptor_valid &&
108
- ((tti_tx_queue_depth_i+ 1'b1 ) >= data_len_words);
108
+ (TtiTxDescDataWidth ' (tti_tx_queue_depth_i+ 1'b1 ) >= data_len_words);
109
109
110
110
always_ff @ (posedge clk_i or negedge rst_ni) begin : proc_tx_pending
111
111
if (! rst_ni) begin
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ module read_queue #(
71
71
start_thld_trig_o = | start_thld_i && (empty_entries >= FifoDepthWidth ' (start_thld_i));
72
72
ready_thld_trig_o = | ready_thld_o && (fifo_depth >= FifoDepthWidth ' (ready_thld_o));
73
73
end else begin
74
- start_thld_trig_o = (empty_entries >= (1 << (FifoDepthWidth ' (start_thld_i) + 1 )));
75
- ready_thld_trig_o = (fifo_depth >= (1 << (FifoDepthWidth ' (ready_thld_o) + 1 )));
74
+ start_thld_trig_o = (empty_entries >= FifoDepthWidth ' (1 << ((start_thld_i) + 1 )));
75
+ ready_thld_trig_o = (fifo_depth >= FifoDepthWidth ' (1 << ((ready_thld_o) + 1 )));
76
76
end
77
77
end : trigger_threshold
78
78
You can’t perform that action at this time.
0 commit comments