Forum Discussion

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

DE0-Nano Pin Assignment setting file problem

Hello people,

When I create a project I immediately import the DE0 nano settings file with the pin assignments. In the block editor file though when i use only one or two output pins of the chip like GPIO_1[16] the specific pin gets ignored and when i compile it at the pin assignment I see the output pins I added as extra pins like GPIO_116 and not assigned to the pins I wanted.

Anybody has any idea why?

Thanks

4 Replies

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

    Not sure (being not familar with the block editor),

    but have you declared the GPIO_1 as the whole vector and are just using the two bits or have you declared only the two bits required (thus the compiler may not detect these two pins as part of the vector).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the answer!

    No I use only the two pins I need (GPIO_1[16] and GPIO_1[22]).

    How can I make a declaration inside the block editor?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    thus I'd suggest to either rename your's two pins, delete the assignment for GPIO_1 and assign the pins to these two signals or to assign a fixed signal (either '0' or '1') to the other members of GPIO_1 to have the vector being recognized...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the reply!

    My problem though is that I have created a board with some levelshifters and the FPGA is mounted on. Some GPIO pins of the FPGA are connected to inpout-outputs of the levelshifters. The first thing I need to do is to assure that the output of the levelshifters is off so that there is no double drive on a specific line. Maybe I should create the block file and then import the pin assignments.