Altera_Forum
Honored Contributor
8 years agoPLL clock switchover with automatic derivation of PLL clocks is not working
Hi all,
I'm using a Cyclone V and need to switch between two input clocks. The clocks have the same parameters. I adhered to the timequest cookbook which says the following:#create a 10ns clock for clock port clk0
create_clock
-period 10.000
-name clk0
# create a 20ns clock for clock port clk1
create_clock
-period 20.000
-name clk1
# automatically create clocks for the PLL output clocks# derive_pll_clocks automatically makes the proper# clock assignments for clock-switchover
derive_pll_clocks
set_clock_groups
-exclusive
-group {clk0}
-group {clk1} But now Quartus tells me it can not derive the master clock for the PLL and therefor it can not derive any of the PLL output clocks. Warning (332087): The master clock for this clock assignment could not be derived. Clock: |altera_pll_i|cyclonev_pll|fpll_0|fpll|vcoph was not created.
Warning (332036): Clock: clk0 found as a potential master clock candidate
Warning (332036): Clock: clk1 found as a potential master clock candidate By constraining PLL input and output clocks manually I can make it work. Quartus/Timequest then recognizes alle the clocks correctly. But this is way to much work to repeat it for every new project... Has anyone experience with this kind of issue? Thanks in advance, Sören