From: Robert Jordens Date: Fri, 23 May 2014 23:37:08 +0000 (-0600) Subject: spiflash: redundant slice X-Git-Tag: 24jan2021_ls180~2706 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81ed92d3b9796b0b22fdfd5aa77ebfedd1bc8acb;p=litex.git spiflash: redundant slice --- diff --git a/misoclib/spiflash/__init__.py b/misoclib/spiflash/__init__.py index 115ff167..006ad08f 100644 --- a/misoclib/spiflash/__init__.py +++ b/misoclib/spiflash/__init__.py @@ -33,7 +33,7 @@ class SpiFlash(Module): sr = Signal(max(cmd_width, addr_width, wbone_width)) self.comb += [ - bus.dat_r.eq(sr[:wbone_width]), + bus.dat_r.eq(sr), dq.o.eq(sr[-spi_width:]), ]