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++

PIO or Custom Component?

Altera_Forum
Honored Contributor II
950 Views

I'm starting a design with the SOPC (NIOS) and I cant decide if I should put my signal processing functionality outside the SOPC (and use the PIO) OR create a custom component and put it in the SOPC. 

 

The signal processing is pretty intense but there are a lot of parameters that have to be passed from the NIOS which would make the PIO a hassle. I cant find anything in the documentation that contrasts the two methods. Im' leaning towards the custom component b/c it seems cleaner but I would hate to get far into it and find out that it wont work in the SOPC. 

 

What are the big differences between the two methods (functionally speaking)? Any words of wisdom would be appreciated.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
249 Views

I would go with a custom interface because... 

a- it is not that difficult to implement 

b- you have more flexibility as far as address map (or number of addressable IO) 

c- you can implement bursting if you need to - I am not sure PIO can handle that 

d- you can tell when the CPU is reading and writing without having to use interrupts or polling 

 

hope this helps.
0 Kudos
Reply