From 2e3fa1bd1c5a19ad5468b6594183c932a72fedd8 Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Mon, 8 May 2023 09:53:42 +0200 Subject: [PATCH] Fix lint error --- src/axi_pkg.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axi_pkg.sv b/src/axi_pkg.sv index 583846491..3f723e262 100644 --- a/src/axi_pkg.sv +++ b/src/axi_pkg.sv @@ -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).