diff --git a/b_asic/operation.py b/b_asic/operation.py index 1bdec6e9b11fedb3f56dbee59f8559a177414ac5..96f424f62bf2c325afb1cf869300875762163348 100644 --- a/b_asic/operation.py +++ b/b_asic/operation.py @@ -327,7 +327,7 @@ class Operation(GraphComponent, SignalSourceProvider): @abstractmethod def quantize_input(self, index: int, value: Num, bits: int) -> Num: """ - Truncate the value to be used as input at the given index to a certain bit + Quantize the value to be used as input at the given index to a certain bit length. """ raise NotImplementedError @@ -944,7 +944,7 @@ class AbstractOperation(Operation, AbstractGraphComponent): bits_override: Optional[int] = None, ) -> Sequence[Num]: """ - Truncate the values to be used as inputs to the bit lengths specified + Quantize the values to be used as inputs to the bit lengths specified by the respective signals connected to each input. """ args = []