From: Dmitry Selyutin Date: Sun, 9 Jan 2022 16:36:35 +0000 (+0000) Subject: sv_binutils: discard VHDL stuff in comments X-Git-Tag: sv_maxu_works-initial~574 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b680656329dce9164b6f5cb059c2fcb32189a40e;p=openpower-isa.git sv_binutils: discard VHDL stuff in comments --- 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"}: