In a given scenario where I have two clock domains driven by a 200MHz and a 30 MHz external independent clocks, what would be the best way to calculate the number of flip-flop stages needed for proper clock-domain crossing?
At the moment, I'm assuming the calculation for the number of stages should go something like this
200/30 = 6.67 As such, I'd need 7 flip-flop stages to be able to meet the clock-domain crossing requirement. Is this a correct assumption?
The system has multiple control signals and a couple of data-buses going back and forth. The widest bus is 32-bits while the smallest bus is 24-bits.
... to meet the clock-domain crossing requirementWhat clock-domain crossing requirement? Go 200->30, and you cannot of course capture all the data. Go 30->200, and only one flop is needed for the data, with 2 or 3 for control signals to meet metastability requirements. \$\endgroup\$