Chargement…
Chargement…
The counter decrements from 15 to 0 then wraps to 15. It only counts when i_en = '1'. Reset sets the counter to "1111" (15).
| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high async reset |
i_en | Input | 1 bit | Enable |
o_cpt | Output | 4 bits | Counter value |