litescope/core: Remove duplicates from split_signals.
Still allow the user to add duplicated signals, but will not error when running Litescope in --gui mode.
This commit is contained in:
parent
f1acdf4c17
commit
d1c480d0e8
|
@ -301,6 +301,7 @@ class LiteScopeAnalyzer(Module, AutoCSR):
|
|||
split_signals.append(s.state)
|
||||
else:
|
||||
split_signals.append(s)
|
||||
split_signals = list(dict.fromkeys(split_signals)) # Remove duplicates.
|
||||
new_groups[n] = split_signals
|
||||
return new_groups
|
||||
|
||||
|
|
Loading…
Reference in New Issue