- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some DSP blocks developped with DSP Builder including Avalon MM blocks to interfacing with the rest of the system.
They work fine but only by sending and receiving data using IOWR and IORD functions. I've tried to connect with DMA controller using sys/alt_dma functions but it doesn't works yet. Have you tried to include a DSP block in SOPC builder as custom instruction instead of a DSP builder system? In this case Do I need to remove the avalon portsin DSP builder? I'm a little confused, I need set a DMA because execution is too slow using NIOS to feed data.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe custom instructions have its own interface: a, b, c, read_a, read_b, write_c, ... etc... I haven't tried this out myself personally, but if you want to use your DSP Builder component as custom instructions in Nios II, then I believe you would have to:
1. remove the Avalon MM interface blocks 2. add in the correct CI interfaces (a, b, c, ... etc.) 3. somehow import that into Nios II... this is the part that I am unsure about.... theoretically, you simply need to import the VHDL or Verilog file to component editor and make sure all ports are set to CI interfaces... however, not sure how this would work with DSPB generated components (since the component is separated into multiple VHDL files....) there is a chance that you might need to file a service request with Altera to see whether it would work or not... Best of luck!
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