go-board-code/debounce_project_top.v

20 lines
394 B
Coq
Raw Normal View History

2024-07-06 18:51:29 +00:00
module Debounce_Project_Top(
input i_Clk,
input i_Switch_1,
output o_LED_1
);
wire w_Debounced_Switch;
Debounce_Filter #(.DEBOUNCE_LIMIT(250000)) Debounce_Inst (
.i_Clk(i_Clk),
.i_Bouncy(i_Switch_1),
.o_Debounced(w_Debounced_Switch)
);
LED_Toggle_Project LED_Toggle_Inst (
.i_Clk(i_Clk),
.i_Switch_1(w_Debounced_Switch),
.o_LED_1(o_LED_1)
);
endmodule