From: chmousset Date: Wed, 14 Aug 2019 09:30:39 +0000 (+0200) Subject: [fix] prevent Vivado from inferring DSP48 in AXIBurst2Beat X-Git-Tag: 24jan2021_ls180~1050^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db4c609a33f5d75d72fa1dc687c1fb8a6e2d6e1d;p=litex.git [fix] prevent Vivado from inferring DSP48 in AXIBurst2Beat --- diff --git a/litex/soc/interconnect/axi.py b/litex/soc/interconnect/axi.py index 9089c275..2ccf19d9 100644 --- a/litex/soc/interconnect/axi.py +++ b/litex/soc/interconnect/axi.py @@ -113,7 +113,7 @@ class AXIBurst2Beat(Module): # compute parameters self.comb += beat_size.eq(1 << ax_burst.size) - self.comb += beat_wrap.eq(ax_burst.len*beat_size) + self.comb += beat_wrap.eq(ax_burst.len << ax_burst.size) # combinatorial logic self.comb += [