Altera_Forum
Honored Contributor
15 years agoNew to NIOS
Hello all,
I am a moderately experienced fpga programmer but brand new to NIOS. So, I have used SOPC to generate a NIOS II and designated onchip memory to go with it. From Eclipse I have been able to run the HelloWorld program (by linking to the .sopc file) and run the program onto the fpga. Now, I want to know how to write code in main() to access the onchip memory in my NIOS II in the fpga. Ultimately I want to write a register I define in my fpga so I can control things in my hardware from C code i write in eclipse. I don't know where to start.