dma: Fix incorrect width cast

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2026-03-06 19:38:59 -08:00
parent 41b87dc65c
commit 798756ac89

View File

@@ -227,8 +227,8 @@ always_comb begin
axis_cmd_axis_dest_next = desc_req.req_dest; axis_cmd_axis_dest_next = desc_req.req_dest;
axis_cmd_axis_user_next = desc_req.req_user; axis_cmd_axis_user_next = desc_req.req_user;
axis_cmd_cycle_count_next = CYCLE_COUNT_W'(desc_req.req_len - LEN_W'(1)) >> $clog2(AXIS_KEEP_W_INT); axis_cmd_cycle_count_next = CYCLE_COUNT_W'(desc_req.req_len - LEN_W'(1) >> $clog2(AXIS_KEEP_W_INT));
read_cycle_count_next = CYCLE_COUNT_W'(desc_req.req_len - LEN_W'(1)) >> $clog2(AXIS_KEEP_W_INT); read_cycle_count_next = CYCLE_COUNT_W'(desc_req.req_len - LEN_W'(1) >> $clog2(AXIS_KEEP_W_INT));
axis_cmd_valid_next = 1'b1; axis_cmd_valid_next = 1'b1;