projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fbf78c
)
Fix sel signal used in wishbone frontend
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Tue, 4 Aug 2020 10:00:53 +0000
(12:00 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Tue, 4 Aug 2020 10:00:53 +0000
(12:00 +0200)
gram/frontend/wishbone.py
patch
|
blob
|
history
diff --git
a/gram/frontend/wishbone.py
b/gram/frontend/wishbone.py
index 658bf9df235635147b61b955b675d73ad00afaa5..611be50748dba305ac44fcb2d9382dc7609cfcfe 100644
(file)
--- a/
gram/frontend/wishbone.py
+++ b/
gram/frontend/wishbone.py
@@
-46,7
+46,7
@@
class gramWishbone(Peripheral, Elaboratable):
with m.Switch(self.bus.adr & ratio_bitmask):
for i in range(self.ratio):
with m.Case(i):
- m.d.comb += self.native_port.wdata.we.eq(Repl(sel
f.bus.sel
, self.bus.granularity//8) << (self.ratio*i))
+ m.d.comb += self.native_port.wdata.we.eq(Repl(sel, self.bus.granularity//8) << (self.ratio*i))
with m.Switch(self.bus.adr & ratio_bitmask):
for i in range(self.ratio):