- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am searching for a fast method to transfer data produced in the Verilog hardware to the NIOS II processor. My ideas are:- Using Avalon-MM Slave and Avalon-MM Master in the SOPC builder, but I don't know how they work; I can't even find the Avalon-MM Slave in SOPC builder :(
- Filling the SRAM with bits (controlled by the Hardware) then transfer the SRAM control to the NIOS II, maybe through a tri-state-bridge or high z-states??
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SGDMA would be the answer for You, but no chance that Nios will be capable of processing such data rate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, direct memory access is definitely what I need!
I instantiated the Scatter-Gather DMA controller in the SOPC builder with the transfer mode "Stream to Memory" and connected the m_write output to the SDRAM and the two descriptor ports to an on chip-memory instance. So, remaining is the port "in" in SOPC builder that I need to connect to an "Avalon-ST source". Can you tell me what I need to connect this to in the SOPC builder to have an actual input in my Nios module in the Verilog code?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to put your verilog code into a custom SOPC component, that provides the data through a standard Avalon Stream Source interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! I need to learn how to do that, but looks complicated at first glance.
For now, I use PIO registers and a hardware buffer, which can be read at approximately 5MHz. Cheers
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