The scaler starts from zero and divides by ( n-1 ). The online documentation suggests it divides by ( n ), but that seems incorrect. Is this a bug or an unclear explanation in the documentation?
There is indeed a clarification needed regarding the scaler functionality. The current scaler in use starts from zero and divides by ( n-1 ), not by ( n ) as suggested in the documentation. This behavior is by design, where the frequency is divided by ( n-1 ) to account for the initial zero state.
Additionally, a new scaler was introduced in SciCompiler 2024.9.x.x, which supports division by both even and odd numbers. To distinguish between the two versions:
- The existing scaler will be labeled as Scaler (Even), which retains the current division behavior.
- The new one will be labeled as Scaler (Fractional), capable of producing any fractional division of the frequency, whether the divisor is even or odd.
This update enhances flexibility in frequency scaling, making it easier to achieve non-integer submultiples in designs.