From eb0d036f1dbbf87d98ecf4e070c5259a79827d73 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 21 Dec 2018 01:48:02 +0000 Subject: [PATCH] back.rtlil: fix translation of Cat. --- nmigen/back/rtlil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2