File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -754,9 +754,12 @@ begin
754754 -- Always 16 byte WSTRB (64-bit case to break apart into two cycle implemented in surf.AxiStreamDmaV2WriteMux)
755755 v.axiWriteMaster.wstrb(15 downto 0 ) := x"FFFF" ;
756756
757- -- Check for 256-bits (or more) case
758- elsif (AXI_CONFIG_G.DATA_BYTES_C >= 16 ) then
759- wStrbIdx := conv_integer(v.axiWriteMaster.awaddr(log2 (AXI_CONFIG_G.DATA_BYTES_C) - 1 downto 4 ));
757+ -- Else 256-bits (or more) case
758+ else
759+ -- Find the 128-bit word offset
760+ wStrbIdx := conv_integer(v.axiWriteMaster.awaddr(log2 (AXI_CONFIG_G.DATA_BYTES_C) - 1 downto 4 ));
761+
762+ -- Assign the WSTRB to this offset
760763 v.axiWriteMaster.wstrb((wStrbIdx* 16 + 15 ) downto (wStrbIdx* 16 )) := x"FFFF" ;
761764 end if ;
762765
You can’t perform that action at this time.
0 commit comments