From: whitequark Date: Fri, 21 Dec 2018 01:48:02 +0000 (+0000) Subject: back.rtlil: fix translation of Cat. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb0d036f1dbbf87d98ecf4e070c5259a79827d73;p=nmigen.git back.rtlil: fix translation of Cat. --- diff --git a/nmigen/back/rtlil.py b/nmigen/back/rtlil.py index a4c8a61..433dd20 100644 --- a/nmigen/back/rtlil.py +++ b/nmigen/back/rtlil.py @@ -298,7 +298,7 @@ class _ValueCompiler(xfrm.AbstractValueTransformer): raise NotImplementedError # :nocov: def on_Cat(self, value): - return "{{ {} }}".format(" ".join(reversed([self(o) for o in value.operands]))) + return "{{ {} }}".format(" ".join(reversed([self(o) for o in value.parts]))) def _prepare_value_for_Slice(self, value): raise NotImplementedError # :nocov: