Chargement…
Chargement…
4-bit up counter. Increments from 0 to 15 then wraps. Only counts when i_en = '1'. Reset clears to "0000".
| 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 |