Binary Counter


Operator Menu Location: Logic Functions


Operator Bitmap:


Functional Description:
The Binary Counter operator is a digital counter that adjusts its output value with each clock pulse. It has three digital inputs, CLK, RST, and U/D; and eight digital outputs . The digital outputs are the binary representation of the counter state, S, an integer in the range . Parameters and are user-defined properties of the operator that must satisfy .
The counter state, S, is updated with the rising edge of the CLK input. If Up/Down input U/D is HIGH the output count is incremented by one. If U/D=LOW, then the output count is decremented by one. Mathematically, the output state can be expressed as follows:

where is the time instant that CLK changes from LOW to HIGH.
In addition, the counter state is reset to its minimum value, i.e., whenever the RST input is HIGH.


User-Defined Properties:
Object Name. A string label that identifies the operator
Min. Value (0-255). The minimum counter state,
Max. Value (0-255). The maximum counter state,


Comments: None.
See Also: Binary to Decimal Conversion