From: whitequark Date: Mon, 31 Dec 2018 03:37:38 +0000 (+0000) Subject: back.rtlil: fix typo. X-Git-Tag: working~109 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdc40eaa9b3d0a728bd49c6997222aa67787cfec;p=nmigen.git back.rtlil: fix typo. --- diff --git a/nmigen/back/rtlil.py b/nmigen/back/rtlil.py index 9ad3033..10ff80f 100644 --- 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, rhs_sign) + stmt.rhs, lhs_bits, lhs_sign) self._case.assign(self.lhs_compiler(stmt.lhs), rhs_sigspec) def on_Switch(self, stmt):