Chargement…
Chargement…
The block is synchronous and exposes the selected counter value.
Behaviour
i_sel selects one of four counters.i_inc=1 increments the selected counter.i_clear=1 clears only that counter.| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high asynchronous reset |
i_sel | Input | 2 bits | Input sel |
i_inc | Input | 1 bit | Input inc |
i_clear | Input | 1 bit | Internal clear |
o_count | Output | 4 bits | Output count |