Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20867 Discussions

How nios can read and write External FPGAs

Altera_Forum
Honored Contributor II
1,277 Views

Hi, 

 

In my project am using 4 FPGAs  

 

1) First FPGA am using Nios II 

2) I want to access/ Control Other FPGA registers 

 

so i have created a custom protocol in slave and master side ir Nios side am planing to do it in C code? 

 

can u tell some ideas of c application how we can start???
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
383 Views

Why do you want to use a custom protocol. Why dont you model the interface as MASTER - SLAVE SPI interface and do a write cycle with address of register and read cycle with teh value of the register.

0 Kudos
Altera_Forum
Honored Contributor II
383 Views

User want to access via UART and access all other FPGAs thats why SPI is not using 

 

 

 

 

 

--- Quote Start ---  

Why do you want to use a custom protocol. Why dont you model the interface as MASTER - SLAVE SPI interface and do a write cycle with address of register and read cycle with teh value of the register. 

--- Quote End ---  

0 Kudos
Reply