Count up and wrap back to zero after outputting specified upper limit
Simulink / Sources
HDL Coder / Sources
The Counter Limited block counts up until the specified upper limit is reached. Then the counter wraps back to zero, and restarts counting up. The counter always initializes to zero.
Note
This block does not report wrap on overflow warnings during simulation. To report
these warnings, see the Simulink.restoreDiagnostic
reference page. The block does report errors due to wrap on overflow.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|