From 5c2df4557721f296a5bdb1a30fe241bb1d7ce845 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 28 Jan 2012 11:39:28 +0100 Subject: [PATCH] fhdl: do not prefix instance signal names --- migen/fhdl/structure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/fhdl/structure.py b/migen/fhdl/structure.py index 4c0ef34bf..ce17be221 100644 --- a/migen/fhdl/structure.py +++ b/migen/fhdl/structure.py @@ -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))