Main Content

Bit Specification Using a Positive Integer

This example shows how to specify the Number of bits in the Counter Free-Running block as a positive integer.

At t = 255, the counter reaches the maximum value of (2^8)-1. If you increase the stop time of the simulation to 256, the counter wraps to zero.