Forum Discussion
Altera_Forum
Honored Contributor
12 years agoregarding data transfer between two custom components or peripherals
I created register as the custom component and instantiated it twice.In a sopc system,now i have 2 separate registers,nios-ii processor,on-chip memory and also one DMA controller.I want to know,how t...
Altera_Forum
Honored Contributor
12 years agoYou can see sopc generates two different base address for two different register.Using base address you can differentiate and communicate with two registers.For write operation you can use function.IOWR(BASE_ADDRESS,OFFSET,VALUE) and for read operation you can use function IORD(BASE_ADDRESS,OFFSET)