diff --git a/b_asic/operation.py b/b_asic/operation.py index e729bbf1d1f87ab32c05b17da6d025e541b895ea..955ce168b30d4c27675bacdc7cfb09f5618e004d 100644 --- a/b_asic/operation.py +++ b/b_asic/operation.py @@ -886,8 +886,8 @@ class AbstractOperation(Operation, AbstractGraphComponent): """ Raises an exception if an input or output does not have a latency offset. """ - self.input_latency_offsets - self.output_latency_offsets + self.input_latency_offsets # noqa: B018 + self.output_latency_offsets # noqa: B018 @property def input_latency_offsets(self) -> list[int]: diff --git a/b_asic/scheduler.py b/b_asic/scheduler.py index 04f14bffb03e2354b28e645d661aea047f448bfa..13193a4aed08e76c39e84c6d9850dc91f1f36837 100644 --- a/b_asic/scheduler.py +++ b/b_asic/scheduler.py @@ -543,7 +543,7 @@ class ListScheduler(Scheduler): def _op_satisfies_concurrent_reads(self, op: "Operation") -> bool: if self._max_concurrent_reads: tmp_used_reads = {} - for i, op_input in enumerate(op.inputs): + for op_input in op.inputs: source_op = op_input.signals[0].source.operation if isinstance(source_op, (Delay, DontCare)): continue diff --git a/b_asic/signal_flow_graph.py b/b_asic/signal_flow_graph.py index 4b7867f6c4002433a1c0ba52983654f3a9488bc4..616d544b57fef9482b800775c0758f31c9b0820e 100644 --- a/b_asic/signal_flow_graph.py +++ b/b_asic/signal_flow_graph.py @@ -2119,6 +2119,8 @@ class SFG(AbstractOperation): The "node" in the dictionary that are set as the start point. end : key in dictionary graph The "node" in the dictionary that are set as the end point. + path : list + This parameter should not be provided directly and is only used internally. Returns -------