diff --git a/b_asic/signal_flow_graph.py b/b_asic/signal_flow_graph.py index 15d37addcc58c496eac99f877479ac4947f9c1da..3abe54b66a9d5645bd72a197227aea19d29e0501 100644 --- a/b_asic/signal_flow_graph.py +++ b/b_asic/signal_flow_graph.py @@ -353,7 +353,6 @@ class SFG(AbstractOperation): """ return self._components_by_name.get(name, []) -<<<<<<< HEAD def find_result_keys_by_name(self, name: Name, output_index: int = 0) -> Sequence[ResultKey]: """Find all graph components with the specified name and return a sequence of the keys to use when fetching their results @@ -368,7 +367,7 @@ class SFG(AbstractOperation): if isinstance(comp, Operation): keys.append(comp.key(output_index, comp.graph_id)) return keys -======= + def replace_component(self, component: Operation, _id: GraphID): """Find and replace all components matching either on GraphID, Type or both. Then return a new deepcopy of the sfg with the replaced component. @@ -647,7 +646,6 @@ class SFG(AbstractOperation): """TODO: docstring""" for op in self.get_components_with_type_name(type_name): op.set_latency_offsets(latency_offsets) ->>>>>>> d2ae5743259f581c116bb3772d17c3b2023ed9e0 def _add_component_unconnected_copy(self, original_component: GraphComponent) -> GraphComponent: assert original_component not in self._original_components_to_new, "Tried to add duplicate SFG component"