I have a 1-bit signal coming from a part of my circuit that is running on a 40 MHz clock. The signal is mostly 0, except it is 1 for a single 40 MHz-cycle every ~million cycles.
Another part of my circuit is running on a 1 MHz clock. I would like to do some synchronous processing on the signal described above in this part of my circuit. What is the correct way to turn the single-cycle 40 MHz signal into a single-cycle 1 MHz signal?
In case that matters, both the 40 MHz and the 1 MHz clocks are output from the same clock manager driven by the 32 MHz clock on my dev board, so they should be phase-locked.