From 81ed92d3b9796b0b22fdfd5aa77ebfedd1bc8acb Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 23 May 2014 17:37:08 -0600 Subject: [PATCH] spiflash: redundant slice --- misoclib/spiflash/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:]), ] -- 2.30.2