Forum Discussion
Altera_Forum
Honored Contributor
14 years agoExample designs for communicating two Altera boards
I am looking for example designs or tutorials showing how to communicate two Altera boards using simple protocols. The purpose is to see how the two devices interact by transmitting data back and forth and to check the transmission somehow. I am using two Altera Transceiver Signal Integrity Development Kit, Stratix IV GT (EP4S100G2F40I1) boards.
Please help to advice if anyone knows such tutorials and examples. Also, any suggestions are highly appreciated. Thanks.49 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- If the board has two transmitters and two receivers on the SMA connectors, then you could use two SMA-to-SPF+ adapters. You could then connect two SFP+ cables to a desktop 10Gbps SFP+ card or to two ports on a 10Gbps switch. That way you can have 10Gbps continuous through the link. --- Quote End --- Does this mean instead of using normal Ethernet interface to transfer data from host PC, device/board receive data from host PC via SMA connectors. And to do so, the host PC must be equipped with a 10Gbps SFP+ card? If so, how to realize this transmission? Any tutorial related to this? Thank you. - Altera_Forum
Honored Contributor
--- Quote Start --- Does this mean instead of using normal Ethernet interface to transfer data from host PC, device/board receive data from host PC via SMA connectors. And to do so, the host PC must be equipped with a 10Gbps SFP+ card? If so, how to realize this transmission? Any tutorial related to this? --- Quote End --- Not quite. Here's what I would try to find; 1) A PCIe 10Gbps NIC (network interface card) with SFP+ connectors. Eg., Newegg has them http://www.newegg.com/product/product.aspx?item=n82e16833106057 http://www.newegg.com/product/product.aspx?item=n82e16833120384 2) A couple of SFP+ to SMA breakout cables or boards, eg., http://hitechglobal.com/boards/modules/sma_to_sfp+.htm 3) Plug the NIC into your test PC, plug the SFP+ cable into the NIC and the adapter board, and then wire the SMAs onto your SI kit. You can also use the adapter boards to connect your kits together. However, in hindsight, you should have just purchased a GT board with SFP+ connectors on it already, eg., http://www.hitechglobal.com/boards/stratix4gx.htm Note that if you are just connecting your two SI kits together using 10Gbps, you can just use SMA cables there. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- It looks like your script output stops right around the time Java is started. Perhaps Java on Windows Server 2008 is broken. --- Quote End --- I have just tried the generation with Quartus II 11.0 sp1 installed in Window 7 OS. And it was fine. So, I will check the time java on the server. In case, it does not help, we will need to reinstall an supported OS. Now I see why my boss want me to use the Windows Server 2008. The server has a NIC with SFP+ connectors and he has been told that the NIC just works with Win Server 2008. I need to investigate this soon. But, if this is true, how should we do? --- Quote Start --- You will not get any response to requests for support until you are using a supported OS. --- Quote End --- A reason strong enough for us to decide changing the OS. Thank you very much. PLMT - Altera_Forum
Honored Contributor
--- Quote Start --- Now I see why my boss want me to use the Windows Server 2008. The server has a NIC with SFP+ connectors and he has been told that the NIC just works with Win Server 2008. I need to investigate this soon. But, if this is true, how should we do? --- Quote End --- Look at the $600 Intel NIC. Check if its supported under Windows 7 and Linux RedHat 6 (or Centos 6). Even if you're not going to use Linux, its a good indicator that the NIC works well and is documented (since the Linux guys had enough info to write a driver). Cheers, Dave - Altera_Forum
Honored Contributor
Dear Dave,
Thank you very much, your explanation and instruction help me understand my target system really better. Still, I have some doubts as follow. --- Quote Start --- 1) A PCIe 10Gbps NIC (network interface card) with SFP+ connectors. Eg., Newegg has them http://www.newegg.com/product/product.aspx?item=n82e16833106057 http://www.newegg.com/product/product.aspx?item=n82e16833120384 --- Quote End --- My boss said that we have NIC with SFP+ connector for our server. So I assume that we have already had this by now. --- Quote Start --- 2) A couple of SFP+ to SMA breakout cables or boards, eg., http://hitechglobal.com/boards/modules/sma_to_sfp+.htm --- Quote End --- And this is what we will need to have to realize our target application, am I right? --- Quote Start --- 3) Plug the NIC into your test PC, plug the SFP+ cable into the NIC and the adapter board, and then wire the SMAs onto your SI kit. --- Quote End --- This is how I set up a connection from a test PC to my SIV GT SI board for transferring 10Gbps, is that right? My next wonder is how I can transfer data from the test PC to board in terms of implementation? if there is an existing tool for this or I need to create my own software/design? --- Quote Start --- However, in hindsight, you should have just purchased a GT board with SFP+ connectors on it already, eg., http://www.hitechglobal.com/boards/stratix4gx.htm --- Quote End --- I am not sure if I understood your point here. But I still do not have SFP+ connector. I have only the XCVR SI Dev kit, SIV GT, eg., http://www.altera.com/products/devkits/altera/kit-stratix-iv-gt-si.html --- Quote Start --- Note that if you are just connecting your two SI kits together using 10Gbps, you can just use SMA cables there. --- Quote End --- This is clear for me. This is what I am doing for testing the XCVR Toolkit examples. - Altera_Forum
Honored Contributor
--- Quote Start --- Look at the $600 Intel NIC. Check if its supported under Windows 7 and Linux RedHat 6 (or Centos 6). Even if you're not going to use Linux, its a good indicator that the NIC works well and is documented (since the Linux guys had enough info to write a driver). --- Quote End --- It says "Support for most Network Operating Systems". So I think that no way to have a driver in Windows 7 or XP. You have any ideas? - Altera_Forum
Honored Contributor
--- Quote Start --- It says "Support for most Network Operating Systems". So I think that no way to have a driver in Windows 7 or XP. You have any ideas? --- Quote End --- Read the datasheet: http://www.intel.com/content/dam/doc/product-brief/10-gigabit-af-da-dual-port-server-adapter-brief.pdf I suspect it would work under Windows 7. You could always contact Intel and ask, or use Google. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- My boss said that we have NIC with SFP+ connector for our server. So I assume that we have already had this by now. --- Quote End --- But you also said your boss thought it would only work under Windows Server 2008. If that is the case, then just buy a new NIC that is compatible with the OS that is also compatible with Quartus. --- Quote Start --- My next wonder is how I can transfer data from the test PC to board in terms of implementation? if there is an existing tool for this or I need to create my own software/design? --- Quote End --- Its called network or sockets programming. --- Quote Start --- I am not sure if I understood your point here. --- Quote End --- The point was that you purchased a really expensive board before figuring out what you really want to do, and now you find that you have to purchase other really expensive adapters to add the missing functionality. The lesson to take from this is; design first, and then buy. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- I suspect it would work under Windows 7. You could always contact Intel and ask, or use Google. --- Quote End --- Yeah, thanks a lot. I just saw Wins Vista is supported so maybe Wins 7 is also supported. I will check this soon. - Altera_Forum
Honored Contributor
--- Quote Start --- Its called network or sockets programming. --- Quote End --- This absolutely answers my wonder. --- Quote Start --- The point was that you purchased a really expensive board before figuring out what you really want to do, and now you find that you have to purchase other really expensive adapters to add the missing functionality. The lesson to take from this is; design first, and then buy. --- Quote End --- Thanks for pointing out our lesson. Actually, even before I realize this uneconomic issue thanks to your explanation, I was feeling that our choice of device was not well decided as it is not easy to find reference designs, examples, tutorials provided for our device. So it takes more time from me. Again, thank you very much Dave, I have learnt a lot. If possible, I will be back to bother you when I have further wonders. Best, PLMT