Clock

Digital Clock Source

    Clock

Library

Modelica/Electrical/Digital/Sources

Description

The clock source forms pulses between the '0' value (forcing 0) and the '1' value (forcing 1). The pulse length width is specified in percent of the period length period. The number of periods is unlimited. The first pulse starts at startTime.

The clock source is a special but often used variant of the pulse source.

Parameters

Clock_0

NameLabelDescriptionData TypeValid Values

mo_startTime

startTime

Output = offset for time < startTime

Scalar

mo_period

period

Time for one period

Scalar

mo_width

width

Width of pulses in % of period

Scalar

Clock_1

NameLabelDescriptionData TypeValid Values

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Digital output signal

output

1