spiflash: redundant slice

This commit is contained in:
Robert Jordens 2014-05-23 17:37:08 -06:00 committed by Sebastien Bourdeauducq
parent d3b96a0a33
commit 81ed92d3b9

View 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:]),
]