diff --git a/b_asic/signal_flow_graph.py b/b_asic/signal_flow_graph.py index b9716c3f66364b3cf0e09c85d9a59db594e14bb0..17e8ee3cb821d04870fe1f9ba0a71997c9c05285 100644 --- a/b_asic/signal_flow_graph.py +++ b/b_asic/signal_flow_graph.py @@ -1728,11 +1728,13 @@ class SFG(AbstractOperation): sfgs = [new_sfg() for _ in range(factor)] # Copy the SFG factor times - # Add suffixes to all graphIDs in the SFGs in order to keep them separated + # Add suffixes to all graphIDs and names in the SFGs in order to keep them separated for i in range(factor): for operation in sfgs[i].operations: suffix = f'_{i}' operation.graph_id = operation.graph_id + suffix + if operation.name != '': + operation.name = operation.name + suffix input_name_to_idx = {} # save the input port indices for future reference new_inputs = []