fhdl: do not prefix instance signal names
This commit is contained in:
parent
a99c2acfa8
commit
5c2df45577
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue