- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 JSHLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you talking of accessing the memory through Nios2 CPU or through a HDL language?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page