Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 討論

Pin config in Cyclone EP1C6

Altera_Forum
榮譽貢獻者 II
1,600 檢視

Hi all, 

I'm using Cyclone EP1C6 UP3 kit for a project of mine. I'm using J1 Expansion header for the purpose of I/O. What I don't get here is how am I supposed to configure a particular pin in J1 as Input or output pin. For ex: I have One Input which is my clock and I have three outputs for which I have assigned Pin no 125,127 and 128 respectively.  

 

http://img2.imageshack.us/img2/9174/48271302.jpg http://img237.imageshack.us/img237/998/32920917.jpg  

 

These are the pin details of J1 connector on my board. As one can see there is no provision to set a particular bit as Input or output(atleast in this connector). Could anyone please suggest pointers here? 

Thanks in advance,
0 積分
2 回應
Altera_Forum
榮譽貢獻者 II
722 檢視

The pins are set automaticly as in- or output when you define the respective port pins in your design. You need the logic design (either as HDL or schematic entry) and have to assign the pin numbers, most comfortable in Quartus Pin Planner tool where you can also set additional I/O features as drive strength or weak pull-up resistors.

Altera_Forum
榮譽貢獻者 II
722 檢視

you should only have to configure a pin as input or output in your quartus project using pin planner.

回覆