diff --git a/b_asic/signal_flow_graph.py b/b_asic/signal_flow_graph.py index c1ff7ee675067a1e9ad6d3cca957413ea775c52f..db482e57c93b482ed3990a8b61a219441a676e0c 100644 --- a/b_asic/signal_flow_graph.py +++ b/b_asic/signal_flow_graph.py @@ -68,7 +68,6 @@ class GraphIDGenerator: def next_id(self, type_name: TypeName, used_ids: MutableSet = set()) -> GraphID: """Get the next graph id for a certain graph id type.""" new_id = type_name + str(self._next_id_number[type_name]) - self._next_id_number[type_name] = 0 while new_id in used_ids: self._next_id_number[type_name] += 1 new_id = type_name + str(self._next_id_number[type_name])