Altera_Forum
Honored Contributor
7 years agoGenerated clock
Hello,
i will create a generated clock and need your help. I have a counter (1 to 2500), which increments every rising edge of clk. Then i set enable to "1" for one clock cycle and set it again to "0" till i count again to 2500. My system frequency is clk = 50MHz. Counter module: input parameter : clk output parameter : enable How should my generated clock look like? Do i have to consider the duty cycle? Is this right? create_generated_clock -name {enable} -source [get_ports clk] -divide_by {5000} [get_pins {counter|clk}] Greetings