Altera_Forum
Honored Contributor
11 years agoCreate_generated_clock - Help with syntax
Hi,
OK, I have now got a base clock defined in the .SDC file, but TimeQuest has identified other "clocks" that I need to define in the SDC file. I am using a counter to subdivide the master clock (32MHz on a physical pin) to produce different frequency clocks to be output from the device. I have an LPM_counter instantiated as lpm_counter0 called Clock/2 It is a 5 bit counter (q[4..0]) and I am picking off the bits to generate 16, 8, 4, 2 and 1 MHz clocks. With no entry in the .sdc file, TimeQuest reports : "Warning (332060): Node: lpm_counter0:Clock/2|lpm_counter:LPM_COUNTER_component|dffs[3] was determined to be a clock but was found without an associated clock assignment." I am trying to use the create_generated_clock directive to create the additional clock for TimeQuest, I have looked though the help and have tried various options, but I can't get the syntax right Can someone help me with the syntax please? e.g., what is the correct "-source" parameter? Do I need more than something like "create_generated_clock -name divider -source [get_registers clk] [get_registers gen|clkreg]" specified? regards Dave