Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThanks.. that helped.
Other than this i have a very basic confusion. In my project, i want to transfer 128 16-bit values to the custom component (slave) and this values will be used by component to evaluate the final output and that output will again be sent back to NIOS (master). So should i just write IOWR_32DIRECT() 128 times as below: IOWR_32DIRECT(BASE, OFFSET0, DATA0);IOWR_32DIRECT(BASE, OFFSET0, DATA1); IOWR_32DIRECT(BASE, OFFSET0, DATA2); | | IOWR_32DIRECT(BASE, OFFSET0, DATA127); And then read the final output register as: IORD_32DIRECT(BASE, OFFSET1); If this is correct, does the nios II automatically sends the data sequentially ? Then how does the custom component gets to know when the new data arrives ?? And how NIOS will know when to read the final output register. Thanks for your time & effort, Anuj