WOLFRAM SYSTEM MODELER

AssignClock

Example of an AssignClock block for Boolean signals

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock"]
Out[1]:=

Information

Elementary example for the documentation of block Modelica_Synchronous.BooleanSignals.Sampler.AssignClock.

Components (5)

periodicClock

Type: PeriodicExactClock

Description: Generates a periodic clock signal with a period defined by an Integer number with resolution

assignClock1

Type: AssignClock

Description: Assigns a clock to a clocked Boolean signal

unitDelay1

Type: UnitDelay

Description: Delays the clocked input signal for one sample period

xor

Type: Xor

Description: Logical 'xor': y = u1 xor u2

integerConstant

Type: BooleanConstant

Description: Generate constant signal of type Boolean