Skip to content

Commit 86241ca

Browse files
Merge pull request #302 from pulp-platform/micprog/lint
Fix lint error
2 parents d360ab8 + 2e3fa1b commit 86241ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/axi_pkg.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ package axi_pkg;
198198
beat_lower_byte(largest_addr_t addr, size_t size, len_t len, burst_t burst,
199199
shortint unsigned strobe_width, shortint unsigned i_beat);
200200
largest_addr_t _addr = beat_addr(addr, size, len, burst, i_beat);
201-
return _addr - (_addr / strobe_width) * strobe_width;
201+
return shortint'(_addr - (_addr / strobe_width) * strobe_width);
202202
endfunction
203203

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

0 commit comments

Comments
 (0)