Question: module debounce ( input logic clk , input logic button, output logic debounced ) ; parameter integer CLOCK _ FREQ = 5 0 _ 0
module debounce
input logic clk
input logic button,
output logic debounced
;
parameter integer CLOCKFREQ ;
parameter integer STABLETIMEMS ;
localparam integer MAXCOUNT CLOCKFREQ STABLETIMEMS;
Other debouncing logic
endmodule
module top;
logic clk button, debounced;
debounce #CLOCKFREQ debounceinst
clkclk
buttonbutton
debounceddebounced
;
endmodule
With the above instantiation in top, what value will MAXCOUNT be in the debounce module? Pick the best
answer.
A
B
C
D
E
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
