Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
micprog committed May 8, 2023
1 parent d360ab8 commit 2e3fa1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axi_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ package axi_pkg;
beat_lower_byte(largest_addr_t addr, size_t size, len_t len, burst_t burst,
shortint unsigned strobe_width, shortint unsigned i_beat);
largest_addr_t _addr = beat_addr(addr, size, len, burst, i_beat);
return _addr - (_addr / strobe_width) * strobe_width;
return shortint'(_addr - (_addr / strobe_width) * strobe_width);
endfunction

/// Index of highest byte in beat (see A3-51).
Expand Down

0 comments on commit 2e3fa1b

Please sign in to comment.