Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You will get more idea buy having look at tutorial available in Quartus II -> Help -> Tutorial.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You didn't tell if you're designing a board or using an existing one.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.