Chargement…
Chargement…
The stopwatch advances on i_tick only while running.
Behaviour
i_start=1 enables counting, i_stop=1 freezes it.i_clear=1 clears seconds and tenths.9 to 0 and increment seconds modulo 10.| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high asynchronous reset |
i_tick | Input | 1 bit | Input tick |
i_start | Input | 1 bit | Starts the operation |
i_stop | Input | 1 bit | Input stop |
i_clear | Input | 1 bit | Internal clear |
o_seconds | Output | 4 bits | Output seconds |
o_tenths | Output | 4 bits | Output tenths |
o_running | Output | 1 bit | Output running |