back.rtlil: fix typo.
authorwhitequark <cz@m-labs.hk>
Tue, 1 Jan 2019 08:50:28 +0000 (08:50 +0000)
committerwhitequark <cz@m-labs.hk>
Tue, 1 Jan 2019 08:50:28 +0000 (08:50 +0000)
nmigen/back/rtlil.py

index 83a7d176a3cf21cc068056ca632cb68f74e88654..fa75025da16e29b30b00aab77330cfb6ee530e65 100644 (file)
@@ -306,7 +306,7 @@ class _ValueCompiler(xfrm.ValueVisitor):
         raise NotImplementedError # :nocov:
 
     def on_Record(self, value):
-        return self(Cat(value.fields.values()))
+        return self(ast.Cat(value.fields.values()))
 
     def on_Cat(self, value):
         return "{{ {} }}".format(" ".join(reversed([self(o) for o in value.parts])))