Altera_Forum
Honored Contributor
17 years agoCreating a 3:1 Clock Mux
hi, I am new here. I don't know if this is the correct place for my question.
So my setup: I have a 148.5MHz VCXO and a 67.5MHz VCXO clks coming into a Stratix II GX EP2SGX901508C3. Right now, I am using altpll to create 74.25Mhz clk from the 148.5MHz VCXO and using altpll to create a 27Mhz clk from the 67.5Mhz VCXO. Because I am trying to do clock recovery depending on my signal's input, I added another altpll acting as a 2:1 clkmux. I am using the clk switch function. I have 74.25Mhz clk and 27Mhz clk as inputs and am selecting one as my output. All of this as been working fine. Now, I am trying to add a third clk to this mux. A 67.5Mhz clk into this mux. But the clk switch function from altpll only does 2:1. How do I create a 3:1 clock mux? Any suggestions? Thanks!