add but skip SPR elimination
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 7 Oct 2020 14:56:31 +0000 (15:56 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 7 Oct 2020 14:56:31 +0000 (15:56 +0100)
openpower/sv_analysis.py

index 950f3c25ee7a5f0a55d9208c864c4ac2fe04824e..6c2d5d2e8651cb4e9adb6f855092c42af6d7449e 100644 (file)
@@ -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):