From c756a4d5b920602873a938a7adde6f626e2199b0 Mon Sep 17 00:00:00 2001 From: uvok Date: Fri, 26 Dec 2025 14:50:22 +0100 Subject: debounde: implement using params --- debounce.tb.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debounce.tb.v') diff --git a/debounce.tb.v b/debounce.tb.v index 36f3a27..7501e2b 100644 --- a/debounce.tb.v +++ b/debounce.tb.v @@ -16,6 +16,7 @@ debounce uut( .signal_i(signal_i), .signal_o(signal_o) ); +defparam uut.STABLE_PERIOD = 5; initial begin $dumpfile("debounce.lxt2"); $dumpvars(); @@ -51,7 +52,7 @@ initial begin #500 signal_i <= ~signal_i; - #105 + #500 $finish(); end -- cgit v1.2.3