Edge Detection
Purpose
Detect edges of pulse signal in given direction
Library
Control / Logical
Description
The output of the edge detection block changes to 1 if an edge is detected on the
input signal. It returns to 0 in the following simulation step.
The block allows you to detect the following edges:
-
rising
- The output is set to 1 when the input changes from 0 to a positive value.
-
falling
- The output is set to 1 when the input changes from a positive value to 0.
-
either
- The output is set to 1 when the input changes from 0 to a positive value
or vice versa.
Parameter
-
Edge direction
- The direction of the edges to detect, as described above.
Probe Signals
-
Input
- The input signal.
-
Output
- The output signal.