Forum Discussion
I/O Pin Assignments
I'm not completely sure how to do pin assignments. Let's say I want to assign Input to an onboard switch and output to the LEDs. I know that I am supposed to use the Pinout table for my FPGA (Stratix II GX).
What would a general procedure to do this look like?7 Replies
- Altera_Forum
Honored Contributor
Check out the board reference manual or board schematic and see which FPGA pins are connected to the switch and LEDs. Open assignment editor in Quartus II and assign those pins to the switch input and LED outputs of your design.
- Altera_Forum
Honored Contributor
I'm using an existing one (Stratix II GX)
- Altera_Forum
Honored Contributor
You didn't tell if you're designing a board or using an existing one.
- Altera_Forum
Honored Contributor
Look into your board documentation. You should find there the info how the FPGA is connected to the external components. After that you can use the e.g. the pin editor to make the assignment.
- Altera_Forum
Honored Contributor
Thanks for the replies. I guess I am not sure how I use the Pin out tables here http://www.altera.com/literature/lit-dp.jsp?category=stx2gx&showspreadsheet=y ?
How would I go about assigning input to the switches on the FPGA board (Stratix II GX)? I know that this is pretty specific, but it would help a lot! - Altera_Forum
Honored Contributor
If you compile your design with Quartus first with no pin assignments then Quartus will place then pins wherever it likes.
You can then use the pin editor (Assignments Menu->Pins) to reassign the detected IO pins to the location that you require. Hope this helps. Could idea to read the tutorial as suggested if you get a chance! - Altera_Forum
Honored Contributor
You will get more idea buy having look at tutorial available in Quartus II -> Help -> Tutorial.