Altera_Forum
Honored Contributor
18 years agoStratix IIGX question of comprehension
Hey all,
I'm working with a PCIe development board that's equipped with (among other things) a Stratix II GX FPGA and 2 SFP channels that I've outfitted with cages from D-Link to convert the SFP ports into gigabit Ethernet ports. My reason for doing this is because I'm eventually going to be doing some modification on the data coming across an Ethernet line, but for now I figured I'd start simple (since this is my first experience with the Stratix FPGA) and have the board forward data. That is, one SFP port will be connected to a switch, the other to a gigabit Ethernet card, and if everything works the gigabit Ethernet card will be able to play nice with my network (port A receives data and transmits it back out on port B, port B receives data and transmits it back out on port A). I've hit a few snags and in trying to debug realized that I made an assumption about the way the serdes is working that I'm not entirely sure is accurate. I've been trying to get some confirmation on this by going through the reference manual for the Stratix II GX, but so far have been unsuccessful in that endeavor. So, here's the question: If I use the alt2gxb mega function to set up the transceiver as a two channel device using the GIGE protocol and a channel width of 8 bits, how will the data be collated in the serial to parallel conversion? It is my impression that the information coming in on the rx_datain lines will be converted into one byte for each line, and the rx_dataout line will contain the deserialized result of one channel in the lower byte, the deserialized result of another channel in the upper byte. Does anyone know if that assumption is correct? Thanks in advance.