also read LDST RM files
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Jan 2021 12:25:40 +0000 (12:25 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Jan 2021 12:25:48 +0000 (12:25 +0000)
src/soc/sv/trans/svp64.py

index 4955df75f7703fdab954fb814391ad4eab54326e..0cb14a78d900d99cb8a864de80af77dd7f17d32e 100644 (file)
@@ -135,7 +135,7 @@ class SVP64RM:
         self.instrs = {}
         pth = find_wiki_dir()
         for fname in os.listdir(pth):
-            if fname.startswith("RM"):
+            if fname.startswith("RM") or fname.startswith("LDSTRM"):
                 for entry in get_csv(fname):
                     self.instrs[entry['insn']] = entry