Chargement…
Chargement…
The module compares three consecutive samples and emits the middle one when strictly greater.
Behaviour
o_peak_valid pulses for one cycle.o_peak_value contains the detected center sample.| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high asynchronous reset |
i_valid | Input | 1 bit | Valid input sample |
i_sample | Input | 8 bits | Input sample |
o_peak_valid | Output | 1 bit | Output peak valid |
o_peak_value | Output | 8 bits | Output peak value |