Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21594 Discussions

Clock pins for Stratix IV E FPGA

Altera_Forum
Honored Contributor II
2,058 Views

Hello, 

 

I am supposedly failing to figure out the correct clock pins for the Stratix IV FPGA. I want to drive a PLL with a 100MHz clock but from what I get from the reference manual, the clocks aren't performing as expected. Is there any special configuration that should be done or am I missing something? 

 

Please help.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,023 Views

In the Altera FPGA's clocks driving the PLL must be connected to the dedicated clock inputs (or in the case of the Stratix IV) cascaded from an adjacent PLL. 

 

Typically there 4 clock inputs dedicated to each PLL. The number of PLL's vary per device and the output connectivity can very depending on if it's a top/bottom PLL or left/right PLL. 

 

 

So to figure this out:  

 

1: First download the Stratix IV device handbook and study Chapter 5: Clock Networks and PLLs in Stratix IV Devices. 

 

2: Note all the PLL's required in the system and capabilities required for those PLL's. 

 

3: Determine if TOP/BOTTOM/LEFT/RIGHT PLL's fit the specific requirements. 

 

4: Identify the specific clock pin(s) that drive the specific PLL's that fit your requirement for each PLL required in the design. Make sure you are not targeting the SAME physical PLL with all your clocks. 

 

If you are stuck due to a board layout issue: IE the layout was done before the steps above were completed, You may be stuck, 

or it may be doable, but with restricted jitter performance, depending on the specific issue with the layout. 

 

Most often the problem is, someone hooked up all the clocks to clock inputs 0, 1, 2, 3, but they all go to only 1 PLL. But the design really needs 2 or more PLL's. So the synthesis tool can't place multiple PLL's into the same location dictated by the driving pin requirement. 

 

Pete
0 Kudos
Altera_Forum
Honored Contributor II
1,023 Views

Hi Pete, 

 

How do I determine whether the PLL I am using is a top/bottom or left/right (L1, L2, T1, T2...)? In setting up the PLL I chose the option to select the pll type automatically

 

Malcolm 

 

 

 

--- Quote Start ---  

In the Altera FPGA's clocks driving the PLL must be connected to the dedicated clock inputs (or in the case of the Stratix IV) cascaded from an adjacent PLL. 

 

Typically there 4 clock inputs dedicated to each PLL. The number of PLL's vary per device and the output connectivity can very depending on if it's a top/bottom PLL or left/right PLL. 

 

 

So to figure this out:  

 

1: First download the Stratix IV device handbook and study Chapter 5: Clock Networks and PLLs in Stratix IV Devices. 

 

2: Note all the PLL's required in the system and capabilities required for those PLL's. 

 

3: Determine if TOP/BOTTOM/LEFT/RIGHT PLL's fit the specific requirements. 

 

4: Identify the specific clock pin(s) that drive the specific PLL's that fit your requirement for each PLL required in the design. Make sure you are not targeting the SAME physical PLL with all your clocks. 

 

If you are stuck due to a board layout issue: IE the layout was done before the steps above were completed, You may be stuck, 

or it may be doable, but with restricted jitter performance, depending on the specific issue with the layout. 

 

Most often the problem is, someone hooked up all the clocks to clock inputs 0, 1, 2, 3, but they all go to only 1 PLL. But the design really needs 2 or more PLL's. So the synthesis tool can't place multiple PLL's into the same location dictated by the driving pin requirement. 

 

Pete 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
1,023 Views

I have selected a random clock input for the PLL and I am getting this error: 

 

"Error (176554): Can't place Top/Bottom or Left/Right PLL "PLL:inst6|altpll:altpll_component|PLL_altpll:auto_generated|pll1" -- I/O pin clock_in1 (port type INCLK of the PLL) is assigned to a location which is not connected to port type INCLK of any PLL on the device"
0 Kudos
Altera_Forum
Honored Contributor II
1,023 Views

What really drives the PLL placement is the clock pin you select as the source. You need to specify these manually. The Auto placer may not place it on a usable pin for the PLL. (Which is what I think happened in your error message.) 

 

Pete
0 Kudos
Altera_Forum
Honored Contributor II
1,023 Views

Thanx Pete, I got it right!

0 Kudos
Reply