- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like have some memory in my design that is on-chip (dual port) but outside the SOPC so that I can connect to the second port. This looks possible when I add an Avalon-MM tristate bridge and an IDT71V416. Why can't I connect internal RAM in place of the IDT71V416 in SOPC builder?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this would be easy in Qsys, you could internally connect 1 of the RAM ports inside of Qsys and export the other so it is accessible outside of Qsys
you don't want a tri-state bridge, as you've found that's meant for external interfaces. you can create a custom component using the Avalon MM Master template. i don't think any other changes need to be made. connect your internal SOPC Builder MM Master to one port and your dummy custom component to the other. when you generate you should have the Avalon MM Master ports on your system alternatively you can pull whatever is outside of SOPC Builder in as a custom component- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm confused by the suggestion to use the MM master template as my current approach is to design an HDL component with an Avalon MM slave port and a bunch of external ports. It's looking a bit ugly as there are a lot of external ports.
The logic outside SOPC is big and nearly all done in schematic, so I don't fancy writing an HDL wrapper for it.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i think i had your situation backwards, i thought you wanted to connect a RAM in SOPC Builder to the outside world
to connect SOPC Builder to RAM on the outside, your approach of using the MM Slave template is correct- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've defined a custom synchronous SRAM and that seems to work. It's a bit clunky because the data bus comes out of the SOPC block as a bidirectional bus, but it seems to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I'd like have some memory in my design that is on-chip (dual port) but outside the SOPC so that I can connect to the second port. This looks possible when I add an Avalon-MM tristate bridge and an IDT71V416. Why can't I connect internal RAM in place of the IDT71V416 in SOPC builder? --- Quote End --- when SRAM added in the sopc builder in niosii processor configuration i am getting an error saying that "Error: sram_0: sram_0.s1 must be connected to an Avalon-MM Tristate master" pls help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi this is imran.
can anyone help me for the following. if i use onchip memory then error flashes as follows. pls help regarding usage of onchip memory in accordance with hello world program in c. if i need to use sram too then pls help for the same too.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi this is imran
can anyone help me for the following. if i run a project in c code in eclipse as nios II hardware then i get the following error message."Project does have an ELF file. Please make sure project has been built successfully"- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page