Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

NIOS II IDE Little Endian Mode

Hi I am working with the NIOS Stratix Professional Edition Dev. Kit and have designed a basic design with a NIOS II/e core, JTAG UART, 200 Kbyte On-chip RAM (32 bit width), Input PIO(32 bit width), 2 Output PIO's(32 bit width) and a PLL. The processor is connected to an external component which just xor's the 32 bit numbers in the Output PIO's and returns the result to the input PIO.

The problem i am having is that i want to feed the output PIO from RAM but when i try to use the IOWR_32DIRECT or even the IOWR_8DIRECT macro the output PIO register doesnt get updated when i view it in the IDE debugger. It seems that the PIO never gets updated what ever i do. I have connected the output PIO's to the external component using the Bus tool in quartus so i am not sure if the output PIO does get updated but doesnt show up in the debugger?

Firstly, would anyone happen to know why cant i update the output PIO, it might be that i might not be accessing the address correctly because the IDE uses Little Endian mode? But i tried with the memory width to be 8 bits and still no luck. I am thinking that it might get updated but it doesnt display in the IDE debugger. What method could I use to actually view what data gets transfered.

Thanks
No RepliesBe the first to reply