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

has mapped clock signal on user I/O

Altera_Forum
Honored Contributor II
1,145 Views

Hi, 

 

I am using arria II GX FPGA along with the ADC AD9268 on my board. I have two clock outputs from the FPGA which are used to latch the digitized output data from the ADC. I have mapped one of the clock on the Refclock_p pin and the other on a user I/O. Now, I have to use the other clock which is mapped on an IO in my application which I am writing in Quartus10.0. Can somebody tell me if I could connect this clock to global clock buffer. How can I use this input as a clock in my VHDL application. 

 

Thanks in advance
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
439 Views

Hello Nivedisha, 

i think i undestood ur problm,bt i need to have more details so can u pls give me more detailed description of what u have done with ur quartus project?  

Have u created block diagram for ur system? 

Becoz i feel it is a bit easy,just need to create two .bdf file in quartus 1) consists other components in ur system and 2) consists ur vhdl code 

 

Then simple connect output from 1) to 2).means output clock from ur system (fpga) to input of ur vhdl. 

this is right but i m afriad that i didnt understand ur question so better u give me more descrition of ur project. 

Hope this will shed some light for ur question.
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

Hi Supal, 

 

Thanks for your reply. But my question is slightly different than for what you have answered. I just need to know whether I can give a clock input on a user IO or not. As I have already given the clock on an IO in my board, can I use the clock using global routing for clock? 

 

thanks
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

 

--- Quote Start ---  

Hello Nivedisha, 

i think i undestood ur problm,bt i need to have more details so can u pls give me more detailed description of what u have done with ur quartus project?  

Have u created block diagram for ur system? 

Becoz i feel it is a bit easy,just need to create two .bdf file in quartus 1) consists other components in ur system and 2) consists ur vhdl code 

 

Then simple connect output from 1) to 2).means output clock from ur system (fpga) to input of ur vhdl. 

this is right but i m afriad that i didnt understand ur question so better u give me more descrition of ur project. 

Hope this will shed some light for ur question. 

--- Quote End ---  

 

 

It would be nice to use proper English in stead of using 'texting short-cuts'?
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

 

--- Quote Start ---  

Hi Supal, 

 

Thanks for your reply. But my question is slightly different than for what you have answered. I just need to know whether I can give a clock input on a user IO or not. As I have already given the clock on an IO in my board, can I use the clock using global routing for clock? 

 

thanks 

--- Quote End ---  

 

 

Hi Nivedisha, 

So from your reply,basically you wanted to know that "clock input" (fpga input) can be mapped on user IO or not,right?Because in first question,you said that you have mapped one of clocks on user IO which is OUTPUT clocks,and just now you said that you wonder if clock INPUT can be mapped or not. 

Well,so if you are talking about the output clock mapping then it is upto you.You can mapped on anything as you have already done it. 

If you are talking abt INPUT clock then I think it is not directly possible because as you already used it for IO mapping, 

So if you want use that second clock for "IO mapping and vhdl application" then use PLL in your system,input of PLL= your second clock (that you wanted to mapped),generate two output clocks of same frequencies as input clock has and with NO DELAY.(In short input clock frequency=output clock1 frequency=output clock2 frequency) 

Now you can use one of PLL output clocks as IO mapping and other is an input for your desired application. 

Hope now it will help you little.
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

You can use any input pin as a clock in your design, but it won't be connected to the global clock network. This means that the timing will not be as good as with a real clock input, and you won't be able to use this clock as the input of a pll.

0 Kudos
Altera_Forum
Honored Contributor II
439 Views

Nivedisha,You can try connections for clocks as depicted in attached figure.

0 Kudos
Reply