Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDE2-70 Nios II problem
Hi everyone, First of all im newbie of FPGAs Now im working with DE2-70 and my design works. but i have new problem like, ../hello_world.c: In function `test1_led': ../hello_world.c:24...
Altera_Forum
Honored Contributor
15 years agoswitch read:
sw_rd=IORD(SWITCH_BASE,0X00); led write: ld_wr=IOWR(LED_BASE,0X00,1); sw_rd and ld_wr are two variables and if there are two bit LED mans 2 leds) then very first LED (LED[0]) will glow as there is "1" assigned to it.