TinyFPGA/btled: a comment.

This commit is contained in:
Kyle Isom 2018-12-29 10:11:22 -08:00
parent 95827da3e1
commit 4770a2bd9c
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ module top (
reg pressed = 0; reg pressed = 0;
assign LED = state; assign LED = state;
// I found the negedge was better for debouncing.
always @(negedge PIN_6) always @(negedge PIN_6)
state <= !state; state <= !state;