A
ALuPin
Guest
Hi everybody,
I have a question concerning the following:
The signal 'valid_48' is one clock_cycle (48MHz) high.
Now I want to use it in a clock domain which has a clock of 90MHz.
How can I synchronize it correctly?
I have thought of the following:
process(Clk_90)
begin
if Reset='1' then
valid_90 <= '0';
valid_h1 <= '0';
valid_h2 <= '0';
elsif rising_edge(Clk_90) then
valid_h1 <= valid_48;
valid_h2 <= valid_h1;
valid_90 <= valid_h1 and (not valid_h2);
end if;
end process;
Are there some problems arising because of the clock-relation factor 48/90 ?
Thank you very much.
Kind regards
Andre
I have a question concerning the following:
The signal 'valid_48' is one clock_cycle (48MHz) high.
Now I want to use it in a clock domain which has a clock of 90MHz.
How can I synchronize it correctly?
I have thought of the following:
process(Clk_90)
begin
if Reset='1' then
valid_90 <= '0';
valid_h1 <= '0';
valid_h2 <= '0';
elsif rising_edge(Clk_90) then
valid_h1 <= valid_48;
valid_h2 <= valid_h1;
valid_90 <= valid_h1 and (not valid_h2);
end if;
end process;
Are there some problems arising because of the clock-relation factor 48/90 ?
Thank you very much.
Kind regards
Andre