Chargement…
Chargement…
The module stores a four-sample unsigned window.
Behaviour
i_valid=1 shifts the window and inserts i_sample.o_max gives the current window maximum.| 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_max | Output | 8 bits | Output max |