projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39eb2e8
)
back.rtlil: fix typo.
author
whitequark
<whitequark@whitequark.org>
Mon, 31 Dec 2018 03:37:38 +0000
(
03:37
+0000)
committer
whitequark
<whitequark@whitequark.org>
Mon, 31 Dec 2018 03:37:38 +0000
(
03:37
+0000)
nmigen/back/rtlil.py
patch
|
blob
|
history
diff --git
a/nmigen/back/rtlil.py
b/nmigen/back/rtlil.py
index 9ad30336777ea68dbd61b3fbefac7f0c51c09cd0..10ff80f6bdc6f75e07af5d7adc74b9fea5104658 100644
(file)
--- a/
nmigen/back/rtlil.py
+++ b/
nmigen/back/rtlil.py
@@
-557,7
+557,7
@@
class _StatementCompiler(xfrm.StatementVisitor):
else:
# In RTLIL, LHS and RHS of assignment must have exactly same width.
rhs_sigspec = self.rhs_compiler.match_shape(
- stmt.rhs, lhs_bits,
r
hs_sign)
+ stmt.rhs, lhs_bits,
l
hs_sign)
self._case.assign(self.lhs_compiler(stmt.lhs), rhs_sigspec)
def on_Switch(self, stmt):