Chargement…
Chargement…
Each valid sample increments the matching bin, saturated at 15.
Behaviour
i_clear clears all bins.i_sample selects the incremented bin.i_read_bin selects the bin read on o_bin_count.| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high asynchronous reset |
i_clear | Input | 1 bit | Internal clear |
i_valid | Input | 1 bit | Valid input sample |
i_sample | Input | 2 bits | Input sample |
i_read_bin | Input | 2 bits | Input read bin |
o_bin_count | Output | 4 bits | Output bin count |