From: Luke Kenneth Casson Leighton Date: Sat, 7 Mar 2020 13:21:38 +0000 (+0000) Subject: uniquify names X-Git-Tag: div_pipeline~1768 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3773a80b620ea083ce2a41abff1e78c5b35bed46;p=soc.git uniquify names --- diff --git a/src/decoder/power_fields.py b/src/decoder/power_fields.py index 0672e1ee..746cb27f 100644 --- a/src/decoder/power_fields.py +++ b/src/decoder/power_fields.py @@ -67,7 +67,9 @@ def decode_instruction_fields(fields): d[idx] = start idx += 1 start += 1 - res[f] = d + f = f.replace(",", "_") + unique = find_unique(res, f) + res[unique] = d return res