Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Accessing Memory

Altera_Forum
Honored Contributor II
978 Views

Hi, i want to know what might be the best possible way of reading and writing to memory. I want to be able to initially store some data in RAM and then have a component designed in VHDL retrieve data from RAM and then store the result after manipulating the data back in RAM.  

 

What i could think of is to design a system in SOPC with Nios II/e core, JTAG and some onchip RAM. Now how can i add data into RAM(maybe through a HEX file) and then retrieve it and pass it on the component. I could write a C application that would transfer from one memory location to another. But should there be an output port from the SOPC system module or a new avalon interface defined? I am not if there is a difference? 

 

This system should be standalone as the component could continously read RAM and once flagged(by reading flag bit) retrieve data from RAM and store the result in a specified location in RAM. 

 

Could someone please guide me on what to do i would really appreciate your help. 

Thanks
0 Kudos
0 Replies
Reply