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

NIOS II Create Accumulator to assign data from PIOs?

Altera_Forum
Honored Contributor II
1,132 Views

Ok my cuestion is, I have one project created with the processor NIOS II standard, may i implement inside the same project an accumulator to asign data from the PIOs of the processor in less how i can insert a symbol (accumulator) in the same project NIOS II. :(:(:(

0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
412 Views

what you wanna do??? 

 

you can read pios and store to onchip ram....
0 Kudos
Altera_Forum
Honored Contributor II
412 Views

 

--- Quote Start ---  

what you wanna do??? 

 

you can read pios and store to onchip ram.... 

--- Quote End ---  

 

 

Read Pios and accumulate to add with a phase! and store in a LUT...
0 Kudos
Altera_Forum
Honored Contributor II
412 Views

thats many ways to do that........... when i saw you can read pios and store to a onchip this is sof solution.... 

 

or you can do it in hardware..... do a vhdl acumulator and read by avalon mm
0 Kudos
Altera_Forum
Honored Contributor II
412 Views

 

--- Quote Start ---  

thats many ways to do that........... when i saw you can read pios and store to a onchip this is sof solution.... 

 

or you can do it in hardware..... do a vhdl acumulator and read by avalon mm 

--- Quote End ---  

 

 

or you can do it in hardware..... do a vhdl acumulator and read by avalon mm, yes this is a good option, but i need construct a cosine a sine signal and the best form for me its using a NIOS II processor, because the data is from a MATLAB GUI. :)
0 Kudos
Altera_Forum
Honored Contributor II
412 Views

add to your vhdl block a spi interface to communicate to fpga...... and at sopc add a MM to read data from this block 

 

http://www.alterawiki.com/wiki/spi_slave_to_avalon_mm
0 Kudos
Altera_Forum
Honored Contributor II
412 Views

 

--- Quote Start ---  

add to your vhdl block a spi interface to communicate to fpga...... and at sopc add a MM to read data from this block 

 

http://www.alterawiki.com/wiki/spi_slave_to_avalon_mm 

--- Quote End ---  

 

 

ok this block its basically to communicate data betwen FPGA and NIOS II, thanks! :)
0 Kudos
Altera_Forum
Honored Contributor II
412 Views

yes.... 

 

good luck 

 

 

Franz Wagner
0 Kudos
Reply