Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAccessing SRAM from NIOS and Verilog Module
Hi, I have implemented the Web Server example on the DE2-115 and modified it a bit to send data over ethernet to the DE2-115 board and store it in the SRAM. This data is around 1Mbit . Next I ...
Altera_Forum
Honored Contributor
11 years agoDear Mini@nB,
I used the memory mapped master template as you suggested. I didn't make any changes to it since for a simple operation like mine it seemed to have the right control and user signals. I connected this master to the SRAM slave. Now from the documentation of the master template, the control_go is used to start reading from the slave. So what I do is use NIOS to write data to the SRAM (starting from address 0 ). Once this is done I use a switch to assert control_go. My control_read_base is the address the SRAM has on my Qsys window. control_fixed location is set to zero. I have set an LED to control_done. Now my question is that do I need to do something from NIOS to transfer the command to the custom module? Because when I store data on to the SRAM (say 1:1000 ) I expect to output the data on the LEDs as a pattern when I turn on a switch (and assert control_go). Is there something I am missing out? Thanks!