FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6382 Discussions

How to access on chip memeory through software

Altera_Forum
Honored Contributor II
969 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
295 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
295 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
0 Kudos
Altera_Forum
Honored Contributor II
295 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.

0 Kudos
Reply