fhdl: do not prefix instance signal names
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 28 Jan 2012 10:39:28 +0000 (11:39 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 28 Jan 2012 10:39:28 +0000 (11:39 +0100)
migen/fhdl/structure.py

index 4c0ef34bfedb16f91bf44f4ea69019a1cc0485d4..ce17be2216d2f494570e7f0e213f0707cb69e0de 100644 (file)
@@ -216,7 +216,7 @@ class Instance:
                        if isinstance(x[1], Signal):
                                return x # override
                        elif isinstance(x[1], BV):
-                               return (x[0], Signal(x[1], self.name_override + "_" + x[0]))
+                               return (x[0], Signal(x[1], x[0]))
                        else:
                                raise TypeError
                self.outs = dict(map(process_io, outs))