From b680656329dce9164b6f5cb059c2fcb32189a40e Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 9 Jan 2022 16:36:35 +0000 Subject: [PATCH] sv_binutils: discard VHDL stuff in comments --- src/openpower/sv/sv_binutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/sv/sv_binutils.py b/src/openpower/sv/sv_binutils.py index bd3faa2d..e29a01c1 100644 --- a/src/openpower/sv/sv_binutils.py +++ b/src/openpower/sv/sv_binutils.py @@ -319,7 +319,7 @@ FIELDS = {field.name:field for field in _dataclasses.fields(Entry)} def parse(path, opcode_cls): for entry in ISA.get_svp64_csv(path): # skip instructions that are not suitable - name = entry["name"] = entry.pop("comment") + name = entry["name"] = entry.pop("comment").split("=")[-1] if name.startswith("l") and name.endswith("br"): continue if name in {"mcrxr", "mcrxrx", "darn"}: -- 2.30.2