Frequency measurement unit
Model Name | FREQ(MIXED_SIGNAL)
Symbol |
Generics |
Name | Type | Default | Unit | Description
THRESHOLD | real | 0.0 | V | threshold value for period measurement
Ports |
Interface | Name | Type/Nature | Mode | Description
terminal | P_1 | ELECTRICAL |  | terminal at pin 1
terminal | P_2 | ELECTRICAL |  | terminal at pin 2
quantity | F_HZ | REAL | out | output frequency
Description | The test-bench shows how the current frequency of the input signal can be measured by a mixed-signal model. The distance in time between two successive crossings of a given threshold is measured.
Dependencies |
Logical Library | Design Unit/Design Entity
IEEE_proposed | ELECTRICAL_SYSTEMS
IEEE | MATH_REAL
Source | See source code
Example | See test-bench