Altera_Forum
Honored Contributor
14 years agoCMU / inclk config
Hello,
I am a little bit confused as far as how to choose the different CMU/inclk permutations and was hoping someone could point me in the right direction. I looked at AN558, but am still confused. Here is the setup (Arria II GX): I have CLK1 and CLK2 coming in into inclk1 and inclk2 respectively of the transceiver. I need to be able to switch between two protocols - protocol 1 uses CLK1 as refclk and protocol 2 uses CLK2 as refclk. From the app note, I gather that I need to configure my ALTGXB to use two input clocks and turn on mif generation in quartus. Then I need to compile the project twice with the two protocol configurations to generate the mif files for each configuration. Once the mif files are generated, I need to apply the desired config with reconfig_mode_sel set to 3'b100. Does this sound correct so far? Now, assume I use CMU0 and CMU1 and dedicate them to protocol 1 and protocol 2 respectively. How do I select which CMU is active? i.e. which one is feeding the TX. Thank you so much!