- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My board has a SRAM on it. So I tried to use it in NIOS II.
From ftp://ftp.altera.com/up/pub/university_program_ip_cores/90 , I got a SRAM_Controller code to interface the SRAM to Avalon bus. However, when I try to put my code to SRAM by setting reset&exception memory location, I can not find this memory in the drop-down list. On-chip SRAM and CFI FLASH can be displayed in the drop-down list. Can anyone help to explain how I can put my software code to the SRAM directly? Thanks.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you remember to give the nios's instruction port access to the SRAM?
(you'll need data port acces as well ....)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If above does not help, make sure that in the .tcl-file of the component there is following line:
set_interface_property avalon_slave_xxx isMemoryDevice true- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Did you remember to give the nios's instruction port access to the SRAM? (you'll need data port acces as well ....) --- Quote End --- Thanks. Both instruction & data port are connected, but the problem still exits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- If above does not help, make sure that in the .tcl-file of the component there is following line: set_interface_property avalon_slave_xxx isMemoryDevice true --- Quote End --- Thanks. This method works. Now I can run download software to SRAM and run it.

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