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

CLKIN Pin as General Purpose Input

Altera_Forum
Honored Contributor II
1,523 Views

I'm doing a Cyclone III design (simulation only, no hardware yet) and am using one of the dedicated clock input pins as a general purpose input. It compiles OK & meets timing constraints so I'm assuming everything is OK. I tried assigning it as a fast input register but the fitter spit it back at me, this probably makes sense. Can I proceed with confidence that everything will work as expected?

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
315 Views

Yes, clock input pins can be used as normal inputs (but not outputs!) with no issues.

0 Kudos
Altera_Forum
Honored Contributor II
315 Views

 

--- Quote Start ---  

Why can't I really use the CLKIN pin as a output? 

 

--- Quote End ---  

 

 

Because the pin on the FPGA is a dedicated clock input pin which does not support output. Search for "dedicated clock input pin" in the Cyclone II handbook. 

 

If you just want to use the given pin(s) on the connector so you can drive your old board, find another pin/net you don't care about and solder a wire to the connector.
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

Just to add on, you can use Quartus II Fitter compilation to verify if a specific pin usage can be implemented on the device. Fitter will help to check against the placement rule and any violation. You should also do a functional simulation with your design to check on the behavior to your expectation.

0 Kudos
Reply