WOLFRAM SYSTEM MODELER

Counter3

3 Bit Counter

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Digital.Examples.Utilities.Counter3"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The Counter3 counts the high-low slopes of the count signal, if the enable signal is set to be true. It is composed by three JK flipflops. q0, q1, and q2 are the bits of the resulting number, where q0 is the lowest, and q2 the highest bit.

Connectors (5)

enable

Type: DigitalInput

Description: Input DigitalSignal as connector

q2

Type: DigitalOutput

Description: Output DigitalSignal as connector

count

Type: DigitalInput

Description: Input DigitalSignal as connector

q1

Type: DigitalOutput

Description: Output DigitalSignal as connector

q0

Type: DigitalOutput

Description: Output DigitalSignal as connector

Components (3)

FF1

Type: JKFF

Description: JK FlipFlop

FF2

Type: JKFF

Description: JK FlipFlop

FF3

Type: JKFF

Description: JK FlipFlop

Used in Examples (2)

FullAdder

Modelica.Electrical.Digital.Examples

Full 1 Bit Adder Example

Counter3

Modelica.Electrical.Digital.Examples

3 Bit Counter Example