I am implementing a clock on Nexys 2(Spartan 3e) FPGA, where I am using Push Button as a asynchronous Reset.
But I am confused where I should use 2 Stage Synchronizer to synchronize the asynchronous Reset with clock.
Should I use it before the Debouncer code or should I use it after Debouncer code.
first synchronize it, then debounce it. Your debouncer is synchronous logic running in your favorite clock domain, so you first have to get the button input into that clock domain.