Chargement…
Chargement…
The pulse stretcher extends an input signal that may last a single cycle by keeping the output active for G_CYCLES cycles. If a new pulse arrives during countdown, the duration is reloaded.
Reset is asynchronous and active-high.
G_CYCLES (default 5,000,000)| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high async reset |
i_pulse | Input | 1 bit | Input pulse |
o_out | Output | 1 bit | Stretched output |