Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

Stratix IV PLL limits

Altera_Forum
Honored Contributor II
1,965 Views

Hi: 

 

I have a 2 fpga stratix iv board and I want to generate a 1 MHz synchronous clock 

in both. When I use the PLL, quartus refuses to let me give a clock slower than 5MHz 

to the PLL. How can I do this with a PLL? 

 

thanks.
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
751 Views

Just use a fast clock and divide the output with FPGA hardware to whatever speed you need. Discrete flip-flops, lpm functions, etc., lots of ways to generate a slow clock.

0 Kudos
Altera_Forum
Honored Contributor II
751 Views

Unfortunately this is not possible. StratixIV has a lower PLL input limit of 5MHz. The only option would be to use an external PLL which will handle this frequency. 

 

What exactly are you wanting to do here? If you have a high frequency clock outside the FPGA, you could divide it down with the PLLs and use this as a system clock. 

 

Best regards, 

 

Steve
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

If I use a High frequency clock to the On chip Altera PLLs on the 2 fpgas and divide it down, 

will the generated clocks be in sync?
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

The basic answer is 'maybe', but there are several other things to consider.  

 

(i) Where is the master clock sourced from? 

(ii) What is the frequency? 

(iii) Is the clock balanced between the two FPGAs? By this, I am asking whether the trace lengths are the same so that the time it takes the clock to arrive at each FPGA is the same 

(iv) When you ask if the clocks will be in sync, what you are really asking is whether the clocks will be in phase. There will always be some phase difference - how much are you able to tolerate? 

 

If you could explain exactly what you are trying to do, that would help.
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

hi stephen, many thanks. the clocks are balanced, very little skew. i am passing 

a master clock 5 mhz to both the fpgas. The phase difference is exactly my quesiton. 

If i use a pll to divide, will the derived clocks drift too far over the run?
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

To answer your question: "If i use a pll to divide, will the derived clocks drift too far over the run?" 

 

By definition, PLLs do not drift - their goal is always to keep edges phase aligned. However, they do have some level of jitter, which is dependent upon many factors and could be 100's of ps or more depending upon their configuration and source clock. 

 

At 5MHz, you have a period of 200nS. With a period this large, the overall jitter will account for a very small percentage of phase difference between the clocks. How much phase mis-match can you tolerate in your design?
0 Kudos
Reply