generic_platform: prefix subsignals
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Wed, 20 Feb 2013 17:27:04 +0000 (18:27 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Wed, 20 Feb 2013 17:27:04 +0000 (18:27 +0100)
mibuild/generic_platform.py

index 09a182147b72d40c48277197060e8d651d93057a..aabd1a07f092b60469435bda50876162b9c1c0fc 100644 (file)
@@ -105,7 +105,7 @@ class ConstraintManager:
                                obj = Signal(t, name_override=name_map(r[0]))
                                self.io_signals.add(obj)
                        else:
-                               obj = Record(t)
+                               obj = Record(t, name=r[0])
                                for sig in obj.flatten():
                                        self.io_signals.add(sig)
                else: