Forum Discussion

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

How to assign GPIO to pins I have assigned on DEO nano

Hi,

I have assigned the pins I need and I am ready to build my circuit I need but I do not know how to assign the I am using to the pins on GPIO so I can connect to my circuit.

Any help would be great!! it could be something very simple but I am new to the FPGA world and I'm getting very frustrated.

Cheers

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Here's a DE0-nano template design. It doesn't do much other than blink the LEDs, however, it has all the constraints information you require.

    Unzip the design and read the readme.txt. Then look at the scripts synth.tcl and constraints.tcl.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Generally no. As you project goes you'll get thousands of warnings, usually difficult to control, except if you use the supress function.

    Which warning is it? Is it the one talking about the requirements for 2.5/3.0/3.3V banks? If yes it just means you need to be careful about voltage overshoot, as there is a close limit on what the FPGA can tolerate. (4.1V IIRC)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Is it the one talking about the requirements for 2.5/3.0/3.3V banks?

    --- Quote End ---

    Yes, that's the one. It's unfortunate there's a warning for which the only option is to suppress it. In this case, most of those signals are already wired up on the DE0-Nano to other components (e.g. SDRAM, buttons, LEDs, etc.) so I assume TerasIC adhered to an 447 (http://www.altera.com/literature/an/an447.pdf) when they designed this board.

    Of course, much of Altera's library code has plenty of warnings so warning-free code is practically unattainable. Still, I don't want something important to get lost in a sea of innocuous warnings so I'll suppress this one.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think everyone agrees that Quartus' warnings system sucks, but now it has become such a big mess that I don't think it will ever be fixed.