FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5881 Discussions

How to access on chip memeory through software

Altera_Forum
Honored Contributor II
766 Views

Dear friend's  

 

i have add an on chip memory using SOPC builder, now for accessing this on chip memory in software what are the changes required and in which files for accessing on chip memory through software..? 

 

I am using Quartus 11.0. 

 

Regards 

JSH
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
92 Views

Are you talking of accessing the memory through Nios2 CPU or through a HDL language?

Altera_Forum
Honored Contributor II
92 Views

I have add the on-chip memory using my sopc builder now what change i have to made in ipport.h so that i can use this on chip memory.i am working on nios-ii CPU and writing C-code on eclips plateform. i have follow the AN440 application note but some thing is missing,  

 

so please suggest what change has to made in ipport.h 

 

Regards 

JSH
Altera_Forum
Honored Contributor II
92 Views

You should have some lines in your system.h that give the on chip memory base address. For example if you called it my_memory in SOPC builder, you'll have a define in system.h with the name MY_MEMORY_BASE with the base address. This is the address you need to use in ipport.h to declare where the packet memory is.

Reply