Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Problem Cyclone III

Altera_Forum
Honored Contributor II
1,057 Views

hi to all, 

 

 

I use Cyclone III starter board I downloaded the instalation kit for this board , i tried with the standard project and does it work , later I copy this code [1] to eclipse and works also. 

 

 

I tried to light the other LEDs and used the buttons I have not found the solution. 

 

 

I await your solutions if you have documents can help me (tutorials) ^^, 

 

 

Thank you in advance :) 

 

Code [1]:# include <stdio.h># include "system.h"# include "altera_avalon_pio_regs.h" 

int main() 

printf("Hello from Nios II!\n"); 

int count = 0; 

int delay; 

while(1) 

IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE, count & 0x01); 

delay = 0; 

while(delay < 2000000) 

delay++; 

count++; 

 

return 0; 

}
0 Kudos
0 Replies
Reply