Chargement…
Chargement…
The module is a small timer with a programmable 4-bit reload value.
Behaviour
i_reload_value into the counter.i_en=1, decrement while the value is non-zero.i_reload_value and pulse o_reload_pulse for one cycle.| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high asynchronous reset |
i_en | Input | 1 bit | Enable |
i_reload_value | Input | 4 bits | Input reload value |
o_count | Output | 4 bits | Output count |
o_reload_pulse | Output | 1 bit | Output reload pulse |