FrequencyDivider
This block produces an output event every n times it is activated. The outgoing event is synchronous with the activation event of the block. The output is not a periodic activation signal even if the block is activated by a periodic activation signal.
Library
Activate/ActivationOperations
Description
The FreqDivider block produces an output event every n times it is activated: The input of that block is directed once every n times to the output.
The outgoing event is synchronous with the activation event of the block. The output is not a periodic activation signal even if the block is activated by a periodic activation signal.
To change the frequency of a periodic activation signal, use the ReSampleClock block.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
phase | Phase must be in the range [0 ... Division factor -1] | Real scalar value. Phase. | Scalar | |
div_factor | Division factor | Real scalar value. Division factor. In case the factor is non-integer, the floor rounding is applied. | Scalar |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | activation | output | 1 | |
Port 2 | activation | input | 1 |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |