[otbn] Split up insn_yaml.py
This was getting a bit unwieldy: split it into smaller files.
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
diff --git a/hw/ip/otbn/util/yaml_to_doc.py b/hw/ip/otbn/util/yaml_to_doc.py
index 30d815a..b1d5898 100755
--- a/hw/ip/otbn/util/yaml_to_doc.py
+++ b/hw/ip/otbn/util/yaml_to_doc.py
@@ -9,8 +9,10 @@
import sys
from typing import List
-from shared.insn_yaml import (BoolLiteral, Encoding, Insn, InsnsFile, Operand,
- load_file)
+from shared.bool_literal import BoolLiteral
+from shared.encoding import Encoding
+from shared.insn_yaml import Insn, InsnsFile, load_file
+from shared.operand import Operand
def render_operand_row(operand: Operand) -> str: