From: Luke Kenneth Casson Leighton Date: Wed, 7 Oct 2020 14:56:31 +0000 (+0100) Subject: add but skip SPR elimination X-Git-Tag: convert-csv-opcode-to-binary~2055 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e5d90e22797d17017d72ea5c27bbb21089a65e6;p=libreriscv.git add but skip SPR elimination --- diff --git a/openpower/sv_analysis.py b/openpower/sv_analysis.py index 950f3c25e..6c2d5d2e8 100644 --- a/openpower/sv_analysis.py +++ b/openpower/sv_analysis.py @@ -19,11 +19,15 @@ def get_csv(name): return list(reader) def blank_key(row): - for v in row.items(): + #for v in row.values(): + # if 'SPR' in v: # skip all SPRs + # return True + for v in row.values(): if v: return False return True + keycolumns = ['in1', 'in2', 'in3', 'out', 'CR in', 'CR out', 'ldst len', 'rc', 'lk'] def create_key(row):