Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Are you talking of accessing the memory through Nios2 CPU or through a HDL language?
- Altera_Forum
Honored Contributor
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
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.