From db4c609a33f5d75d72fa1dc687c1fb8a6e2d6e1d Mon Sep 17 00:00:00 2001 From: chmousset Date: Wed, 14 Aug 2019 11:30:39 +0200 Subject: [PATCH] [fix] prevent Vivado from inferring DSP48 in AXIBurst2Beat --- litex/soc/interconnect/axi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += [ -- 2.30.2