Forum Discussion
Altera_Forum
Honored Contributor
12 years agoShare variables between verilog file and niosII application file(.c file)
Hello, I am trying to do a small concept where in I have created a project on DE2-115 board. In the same project, I have also implemented niosII processor and written a simple program to toggle th...
Altera_Forum
Honored Contributor
12 years agoFirst of all you must wrap SharedVar into an Avalon slave
Then create the sopc/qsys MM slave component Add it to your sopc system (here's you define the base address to be used in C code) and rebuild Here you find a complete template provided by Altera: http://www.altera.com/support/examples/nios2/exm-avalon-memory-slave.html