diff options
| author | uvok | 2025-12-26 15:15:52 +0100 |
|---|---|---|
| committer | uvok | 2025-12-26 15:15:52 +0100 |
| commit | 539e67d451e267fb8c6040bc95c64894372e8b66 (patch) | |
| tree | d462e26630aeda256df0c3c2e85f4293f6a525cd | |
| parent | e1c081bd2089b87808c592e3dabc4ac464b2a57c (diff) | |
Add comment/docu
| -rw-r--r-- | debounce.v | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ reg prev_state; always @(posedge clk_i or negedge rst_i) begin if (!rst_i) begin + // Learning: I would like to set the output to the input on reset + // but then I get + // Warning: Async reset value `\signal_i' is not constant! + // and a synthesis error. clk_counter <= 0; prev_state <= INIT_SIG_STATE; signal_o <= INIT_SIG_STATE; |
