OOF3
All checks were successful
EIVE/-/pipeline/head This commit looks good

This commit is contained in:
2023-11-22 13:51:33 +01:00
parent 02d9d6adfc
commit d640d547bd
15 changed files with 300 additions and 347 deletions

View File

@ -151,10 +151,10 @@ def create_ploc_mpsoc_node() -> CmdTreeNode:
]
info_strs = [getattr(Info, key) for key in dir(OpCode) if not key.startswith("__")]
combined_dict = dict(zip(op_code_strs, info_strs))
ploc_mpsoc = CmdTreeNode("ploc_mpsoc", "PLOC MPSoC")
node = CmdTreeNode("ploc_mpsoc", "PLOC MPSoC")
for op_code, info in combined_dict.items():
ploc_mpsoc.add_child(CmdTreeNode(op_code, info))
return ploc_mpsoc
node.add_child(CmdTreeNode(op_code, info))
return node
@tmtc_definitions_provider
@ -679,7 +679,9 @@ def handle_mpsoc_data_reply(action_id: int, pw: PrintWrapper, custom_data: bytea
current_idx = 0
dir_name_short = custom_data[current_idx : current_idx + 12].decode("utf-8")
current_idx += 12
num_elements = struct.unpack("!I", custom_data[current_idx : current_idx + 4])[0]
num_elements = struct.unpack("!I", custom_data[current_idx : current_idx + 4])[
0
]
elem_names = []
elem_attrs = []
elem_sizes = []