From: whitequark Date: Fri, 21 Dec 2018 01:48:02 +0000 (+0000) Subject: back.rtlil: fix translation of Cat. X-Git-Tag: working~172 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=221f108fbea34df4f0b005a8ef4fb4905a34f895;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: