Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Share 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 the LED.

In my final application that i intend to built, partly will be implemented in verilog and remaining will be implemented in .c file.

Hence there may arise a need to access (read/write) the variable through verilog file which is declared in niosII application .c file and vice-versa.

I wanted to know Is this possible and if yes how can i go about doing that.

I intend to use it in final implementation and not just for debugging.

thanks.

Jagdish

16 Replies