Chargement…
Chargement…
The controller manages an LED with 3 modes: off, blinking, and steady on. Transitions are triggered by button: OFF → BLINK → ON → OFF. In blink mode, the LED toggles with a half-period of G_HALF cycles.
Reset is asynchronous and active-high.
G_HALF (default 25,000,000) for the blink half-period| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high async reset |
i_btn | Input | 1 bit | Advance button |
o_led | Output | 1 bit | LED output |