mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
spiflash: redundant slice
This commit is contained in:
parent
d3b96a0a33
commit
81ed92d3b9
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class SpiFlash(Module):
|
||||||
|
|
||||||
sr = Signal(max(cmd_width, addr_width, wbone_width))
|
sr = Signal(max(cmd_width, addr_width, wbone_width))
|
||||||
self.comb += [
|
self.comb += [
|
||||||
bus.dat_r.eq(sr[:wbone_width]),
|
bus.dat_r.eq(sr),
|
||||||
dq.o.eq(sr[-spi_width:]),
|
dq.o.eq(sr[-spi_width:]),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue