diff --git a/b_asic/signal_flow_graph.py b/b_asic/signal_flow_graph.py index 17e8ee3cb821d04870fe1f9ba0a71997c9c05285..7d4610ae82d0756cef7da1c8b9daa75aeb8848c2 100644 --- a/b_asic/signal_flow_graph.py +++ b/b_asic/signal_flow_graph.py @@ -1728,12 +1728,12 @@ class SFG(AbstractOperation): sfgs = [new_sfg() for _ in range(factor)] # Copy the SFG factor times - # Add suffixes to all graphIDs and names in the SFGs in order to keep them separated + # Add suffixes to all graphIDs and names 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 != '': + if operation.name[:7] not in ['', 'input_t', 'output_']: operation.name = operation.name + suffix input_name_to_idx = {} # save the input port indices for future reference