mirror of
https://github.com/fpganinja/taxi.git
synced 2026-04-07 12:38:44 -07:00
dma: Fix incorrect width cast
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -265,7 +265,7 @@ always_comb begin
|
||||
|
||||
length_next = 0;
|
||||
|
||||
cycle_count_next = CYCLE_COUNT_W'(desc_req.req_len - LEN_W'(1)) >> $clog2(AXIS_KEEP_W_INT);
|
||||
cycle_count_next = CYCLE_COUNT_W'(desc_req.req_len - LEN_W'(1) >> $clog2(AXIS_KEEP_W_INT));
|
||||
last_cycle_next = cycle_count_next == 0;
|
||||
if (cycle_count_next == 0 && last_cycle_offset_next != 0) begin
|
||||
keep_mask_next = {AXIS_KEEP_W_INT{1'b1}} >> (AXIS_KEEP_W_INT - last_cycle_offset_next);
|
||||
|
||||
Reference in New Issue
Block a user