projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82ab211
)
add but skip SPR elimination
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 7 Oct 2020 14:56:31 +0000
(15:56 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 7 Oct 2020 14:56:31 +0000
(15:56 +0100)
openpower/sv_analysis.py
patch
|
blob
|
history
diff --git
a/openpower/sv_analysis.py
b/openpower/sv_analysis.py
index 950f3c25ee7a5f0a55d9208c864c4ac2fe04824e..6c2d5d2e8651cb4e9adb6f855092c42af6d7449e 100644
(file)
--- 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):