Forum Discussion
Altera_Forum
Honored Contributor
16 years agoVarible clock rate
Hello together I have a verilog-module that is working with an external 25 MHz clock. Now in my application I would like to work with a variable clock rate. Some other logic modules in the FPG...
Altera_Forum
Honored Contributor
16 years agoHello kaz
Thank you very much for your help. Your code looks similar for me, mine is a little bit more cosmectic. --- Quote Start --- Remember all your clked staements and clked components must have clk enable added to them. --- Quote End --- Yes, I will implement it as code blockalways @(posedge clk or ClkEnable rst)
begin
// do something
end
I am currently struggeling a little bit if e.g. a 20 Mhz clock can be realized using a clock rate of 25 MHz because the enable signal itself is derived from the 25 MHz clock I will let you know if it works! Best regards and thank you again Geri