Altera_Forum
Honored Contributor
10 years agoEthernet communication between FPGAs
Hi everyone,
I'm working on a project where I have two boards (One Master and one Slave), and I need to realise an Ethernet communication between those two. Both the boards uses a Cyclone V FPGA, so I work with Quartus II. I have found some examples of communication between an FPGA and a PC, but not between two FPGAs through Ethernet. I found a megafunction in Quartus called "Triple-Speed Ethernet MegaCore Function" with the Wizard where I can choose the type of transceivers used, either none, or the GXB type. Can you tell me the difference between these two choices if you know it? In order to achieve my communication I would have a code on my slave board and another on my master board. I wanted to know if it was correct to implement my Megafunction in both codes in order to transmit my signals? I would have a block of my Megafunction present in my master code and the same block present in my slave code that would correspond to both ends of my Ethernet cable. This would allow me to connect the signals arriving on my slave from the master and my slave signals sent to the master, all in the block of my slave Megafunction and vice versa on the master. Thanks in advance for the help, Cordially, David.