Chargement…
Chargement…
State machine that detects the binary sequence "101" on the serial input. The o_detect output pulses for one cycle when the complete sequence is detected. Detection supports overlapping (the last '1' can start the next sequence).
Reset is asynchronous and active-high.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_rst | Input | 1 bit | Synchronous reset active high |
i_bit | Input | 1 bit | Serial input |
o_detect | Output | 1 bit | Detection pulse |