spiflash: redundant slice
authorRobert Jordens <jordens@gmail.com>
Fri, 23 May 2014 23:37:08 +0000 (17:37 -0600)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 24 May 2014 08:39:07 +0000 (10:39 +0200)
misoclib/spiflash/__init__.py

index 115ff167f6946ef71a6f50f073b3cf691c7fde36..006ad08f07d09a97cba7b915870657e6fbe473d3 100644 (file)
@@ -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:]),
                ]