Guest
Hello , can any one plz advise me on the correct method of handling
multiple clocks in a design, i have read many documents on clock
synchronization from Clifford E. Cummings and some SNUG papers, they
are stressing on using synchronisers for avoiding metastability, but
what i want to know is if i want to select diffirent clock rates
depneding upon some condition how do i do that using muxes which might
in turn add clock skew and glitches b/w when changing different rates.
ex coding...sytle
clk1 <= clk_1 when rate_in = "0001" else
clk_2 when rate_in = "0010" else
clk_3 when rate_in = "0011" else
clk_4 when rate_in = "0100" else
clk_5 when rate_in = "0101" else
clk_6 when rate_in = "0110" else
clk_7 when rate_in = "0111" else
clk_8 when rate_in = "1000" else
clk_9;
is this the correct way or what is the correct way to do this kind of
clock selection depending upon some condition in the design.
multiple clocks in a design, i have read many documents on clock
synchronization from Clifford E. Cummings and some SNUG papers, they
are stressing on using synchronisers for avoiding metastability, but
what i want to know is if i want to select diffirent clock rates
depneding upon some condition how do i do that using muxes which might
in turn add clock skew and glitches b/w when changing different rates.
ex coding...sytle
clk1 <= clk_1 when rate_in = "0001" else
clk_2 when rate_in = "0010" else
clk_3 when rate_in = "0011" else
clk_4 when rate_in = "0100" else
clk_5 when rate_in = "0101" else
clk_6 when rate_in = "0110" else
clk_7 when rate_in = "0111" else
clk_8 when rate_in = "1000" else
clk_9;
is this the correct way or what is the correct way to do this kind of
clock selection depending upon some condition in the design.