fhdl: do not prefix instance signal names

This commit is contained in:
Sebastien Bourdeauducq 2012-01-28 11:39:28 +01:00
parent a99c2acfa8
commit 5c2df45577
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ class Instance:
if isinstance(x[1], Signal): if isinstance(x[1], Signal):
return x # override return x # override
elif isinstance(x[1], BV): 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: else:
raise TypeError raise TypeError
self.outs = dict(map(process_io, outs)) self.outs = dict(map(process_io, outs))