Forum Discussion
Altera_Forum
Honored Contributor
13 years agoPIO higher than 32 bits
Hi, I'm trying to interface a NIOS2 with a self-designed VHDL module, a simple one. Until now I was using a 32 bit PIO for transferring data from the VHDL to the NIOS2, but I would like to inc...
Altera_Forum
Honored Contributor
13 years agoWhatever you do the nios cpu can only load one 32bit word into a register in one instruction. A read from an Avalon slave will usually take 3 clocks (will be longer if any avalon bridges are needed, or if the slave stretches the cycle).
What you might want to do is add an Avalon slave interface to your logic block - then you can use the low address bits to select the data to read/write.