Clock
Digital Clock Source
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
Name | Label | Description | Data Type | Valid 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 | |
mo_t_i | t_i | t_i | Structure | |
mo_t_i/fixed | fixed | Cell of scalars | true | |
mo_t_i/start | start | Cell of scalars |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 't_width' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
y | implicit | Connector of Digital output signal | output | 1 |