Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NiosII - DSPBuilder Interface

Altera_Forum
Honored Contributor II
1,370 Views

Does anybody has a idea about tieing up a hw-design, created by DSPBuilder, to NiosII?  

 

I inserted it to my existing SOPC-Design and it appears in "system.h" as a regular device description. 

 

Then i tried to treat it as the UART, with a filedescriptor, but this is the wrong way because the driver for this "device" does not support "fopen","fdopen","open" or something like that. 

 

How can i talk through NiosII with my DSP-Builder-Design? 

 

i´ll be thankful for any input... 

 

//edit: 

 

seems to be sth like "custom instruction"?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
482 Views

There is a reference design on tool design flow: Integrating DSP Builder design into SOPC builder.  

Here is the link: 

http://www.altera.com/end-markets/refdesig...-detection.html (http://www.altera.com/end-markets/refdesigns/sys-sol/indust_mil/ref-edge-detection.html

Hope it helps!
0 Kudos
Altera_Forum
Honored Contributor II
482 Views

Hello, 

 

Im looking to do something like that, but without using DSP Builder. Instead Id like to come up with my own custom FPGA design, and be able to send that data into linux, and then from there send it out via Ethernet. Are there any examples for this as well, or site that could help get somthing like this running? I am pretty new to getting the linux part, but as far as basic FPGA programming, ive done it before a few times. Im currently using the Nios 2 Evaluation kit, if that helps any. 

 

Thank you for your time, 

-Mark
0 Kudos
Altera_Forum
Honored Contributor II
482 Views

Thanks for the input! 

I´ve been on altera.com before posting, now i do sth. similar: the interface to the dspb-design is a dual-port-ram. 

nice weekend!
0 Kudos
Reply