Altera_Forum
Honored Contributor
12 years agoMultiply-by-2 clock
Hello,
My design needs 2 clocks. One is the external clock and the other is the internal clock. The internal clock frequency = 2 x external clock frequency. The port names in my module are base_clock and clock respectively. This is how my .sdc file looks like create_clock -name "base_clock" -period 8.0ns [get_ports {base_clock}] create_generated_clock -name "clock" -source [get_ports base_clock] -multiply_by 2 [get_ports {clock}] But I am getting a warning saying: Warning (332088): No paths exist between clock target "clock" of clock "clock" and its clock source. Assuming zero source clock latency. I know that something is wrong in the text in red. Could anybody please guide me as to how it should be written. I looked up the Altera's document on The Quartus II TimeQuest Timing Analyzer and found the below example. create_clock -period 10 -waveform{05} [get_ports clk] # Creates a multiply-by-two clock create_generated_clock -source [get_ports clk] -multiply_by 2 [get_registers \ clkmult|clkreg] I am new to this. Any help is appreciated. Thank you.