SystemRDL/PeakRDL-cheader

Wrong syntax generated for multidimensional arrays

Closed this issue · 1 comments

Multidimensional arrays generate declarations like [X, Y, Z] instead of [X][Y][Z]:

def write_reg_struct_member(self, node: RegNode) -> None:
if node.is_array:
array_suffix = str(node.array_dimensions)
else:
array_suffix = ""

Thanks. Will be fixed in the next release