hdl.rec: separate record and signal name with __, not _.
This makes names of signals within records less ambiguous, in case they themselves have underscores within them.
This commit is contained in:
parent
81ee2db163
commit
3c95299c4e
2 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ class Record(Value):
|
|||
def concat(a, b):
|
||||
if a is None:
|
||||
return b
|
||||
return "{}_{}".format(a, b)
|
||||
return "{}__{}".format(a, b)
|
||||
|
||||
self.layout = Layout.wrap(layout)
|
||||
self.fields = OrderedDict()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue