Altera_Forum
Honored Contributor
14 years agoVery slow clock signals and STA in TimeQuest
For some specific usage, I need some very slow clock signals. They are generated from FPGA for outside chip.
For example, the FPGA clock is 40Mhz, so clock period is 25ns and I named this clock as clk_25ns. I need a clock signal which period is 6400ns or even slower, PLL inside FPGA may not generate so slow clock (it depends on the FPGA series)。 An approach I use is using a counter, like 8 bit counter, the input clock is clk_25ns, and the MSB in output, the period will approximately be 6400ns (25ns * 256). I have two questions about this: 1. Using counter to generate a clock signal is not a good approach since it is not accurate and there may be large skew because it does not use global clock bus. Is there any other approach to create the slow clock signal instead of using counter? 2. For STA, the commands I always use in .sdc is: create_clock -name sys_clk -period 25.0 [get_ports clk_25ns] derive_pll_clocks derive_clock_uncertainty If I have to use counter to generate a clock signal, how can I program in my .sdc file to let TimeQuest know this is a clock signal? I just start to learn how to use TimeQuest. Thanks very much.