Forum Discussion
Altera_Forum
Honored Contributor
14 years agooutput GPIO on DE2
Hello I m trying to use the output GPIO on the DE2 board and cannot even get the clock to output. I have pin one out of a breakout board running through a 1k and then to Comm. My code was imme...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Hello I m trying to use the output GPIO on the DE2 board and cannot even get the clock to output. I have pin one out of a breakout board running through a 1k and then to Comm. My code was immensely simple GPIO_1(1) <=clock_27; Is there something wrong? Is there a spefic string of code I need to output anything? --- Quote End --- What is the pin assignment? Perhaps you have a typo. Is this a DE2, DE2-70, or DE2-115? Here's a snippet from my DE2 pin assignments ...
set pin(gpio_a(0)) D25
set pin(gpio_a(1)) J22
set pin(gpio_a(2)) E26
set pin(gpio_a(3)) E25
...
set pin(gpio_b(0)) K25
set pin(gpio_b(1)) K26
set pin(gpio_b(2)) M22
set pin(gpio_b(3)) M23
and my DE2-70
set pin(gpio_a(0)) C30
set pin(gpio_a(1)) C29
set pin(gpio_a(2)) E28
set pin(gpio_a(3)) D29
...
set pin(gpio_b(0)) G27
set pin(gpio_b(1)) G28
set pin(gpio_b(2)) H27
set pin(gpio_b(3)) L24
Cheers, Dave