Mixing multiple clocks (e.g., 50 MHz and 100 MHz) requires synchronizers. The classic 2-flip-flop synchronizer prevents metastability but does not guarantee data coherency.
Utilizing Electronic Design Automation for simulation, synthesis, and verification of digital systems. VHDL Standardization: modern digital designs with eda vhdl and fpga pdf link