Skip to content

Commit

Permalink
Merge pull request pulp-platform#302 from pulp-platform/micprog/lint
Browse files Browse the repository at this point in the history
Fix lint error
  • Loading branch information
thommythomaso authored May 8, 2023
2 parents d360ab8 + 2e3fa1b commit 86241ca
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 86241ca

Please sign in to comment.