Forum Discussion

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

Quartus II VHDL exercise 1

So, I'm having a bit of trouble with the first VHDL exercise provided with the Altera DE2 board. We've used the code provided, done the pin assignments as instructed, and the program, in general, works. (it's a simple thing designed to familiarize with the board; assigning each toggle switch to control the red LED above it)

However, LEDR[0] is constantly on. We've written another program to test the functionality of SW[0], and it's not the switch. Additionally, the red LED is only on when the board has that particular program on it.

Any help would be appreciated.

1 Reply

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

    can you use the FPGA viewer (that shows you the exact location of the logic and the routing) to check that you're actually driving the proper pin?