projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b96a0
)
spiflash: redundant slice
author
Robert Jordens
<jordens@gmail.com>
Fri, 23 May 2014 23:37:08 +0000
(17:37 -0600)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Sat, 24 May 2014 08:39:07 +0000
(10:39 +0200)
misoclib/spiflash/__init__.py
patch
|
blob
|
history
diff --git
a/misoclib/spiflash/__init__.py
b/misoclib/spiflash/__init__.py
index 115ff167f6946ef71a6f50f073b3cf691c7fde36..006ad08f07d09a97cba7b915870657e6fbe473d3 100644
(file)
--- 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:]),
]