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 ago --- Quote Start --- Is the above template applicable even while using On-chip memory? OR Is it that on-chip memory can be handled in much simpler way and directly using hdl and niosII? --- Quote End --- The above template DOES apply to onchip memory. --- Quote Start --- One more question where are the variables stored that are declared in hdl. (integer, reg). can't this variable's memory location be accessed using niosII. --- Quote End --- That's exactly the purpose of the MM slave. It maps the hdl registers to Nios address space