The debouncer circuit is useful when we specially use push button switches in our design. This design code will generate high pulse for 1 millisecond after press and goes back to low. If you want to input a manual switch signal into a digital circuit you'll need to debounce the signal so a single press doesn't appear like multiple presses. Pin description is given below.
Name of Pins | Direction | Data Width |
msClk | Input | 1 |
pb | Input | 1 |
debouncedPb | Output | 1 |