summaryrefslogtreecommitdiff
path: root/debounce.v
diff options
context:
space:
mode:
authoruvok2025-12-26 14:56:31 +0100
committeruvok2025-12-26 14:56:31 +0100
commita36697cf98292e28e82870f0b2fdaa4243021671 (patch)
tree4b8b19f8eb3019a1b11e3d207a9fec640830bba1 /debounce.v
parentc756a4d5b920602873a938a7adde6f626e2199b0 (diff)
docu
Diffstat (limited to 'debounce.v')
-rw-r--r--debounce.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/debounce.v b/debounce.v
index 704a588..014f7c4 100644
--- a/debounce.v
+++ b/debounce.v
@@ -5,6 +5,9 @@ module debounce (
output reg signal_o
);
+// number of rising clock edges a signal needs to be stable
+// for it to be output.
+// (+1 for propagation).
parameter STABLE_PERIOD = 50;
parameter INIT_SIG_STATE = 1'b1;