Forum Discussion
Altera_Forum
Honored Contributor
17 years agoYour 2 clocks will have coincident edges every 15th clock of the 12MHz domain and every 30th clock of the 20MHz domain.
Your task therefore would be to determine when this coincidence occurs using a phase detector of your own design. You would then provide a clock enable in each of the domains on the clock cycle prior to the coincident edge. I have no idea how you could constrain your timing so that the analyzer wouldn't flag a timing violation. I usually set false paths between clock domains and design the logic so as to avoid a violation. This is not a standard way to cross clock domains. Have you considered using a dual-clock FIFO? Jake