Morning Mark Please have a look here for SKARAB 40gbe TX and RX models with demo software.
https://github.com/ska-sa/mkat_fpga/tree/devel/source/skarab_dev/tut2 Cheers Paul On 30 June 2017 at 07:46, Jason Manley <[email protected]> wrote: > Hi Mark > > The current SKARAB 40G yellowblock is a bit of a hack. > > 1) It is currently not parameterised, and is hard-coded for the first > port on Mezzanine slot 3. > > 2) The tx_valid and rx_valid lines are 4-bits wide, not 1 bit. This will > be rectified soon, but in the meanwhile, just feed the value "3" to > tx_valid to send packets. > > 3) Note that there was a recent change to the TX and RX 64-bit word > ordering (was previously incorrectly swapped). Make you built your > bitstreams with a recent git checkout. > > It's on our todo list to get it properly parameterised and to fix the > 4-bit weirdness, but it's not clear when we'll have that done. In the > meanwhile, the 40G does work, and we are successfully using this first port > actively at SKA-SA. > > Some things you should try to help debug: > > 1) The microblaze will attempt to DHCP on the 40G interface. Did it > obtain a lease? Check your DHCP server logs. > > 2) Check (using casperfpga software) that the cores are actually > configured like you think. There was a version of microblaze that overwrote > things. And if it's DHCP'ing (this is how we use the ports), then the IP > will have changed from what you expect. myfpgaobject.gbes['my_forty_ > gbe_core'].print_core_details() (or g.get_core_details()). > > 3) What does tcpdump/wireshark show is coming out of the TX board? > > 4) Did you select different MAC addresses for the "hardcoded" > yellowblocks on the TX and RX side? Else a switch might not forward the > packets. > > 5) Can you ping both 40G interfaces from a computer? > > Jason Manley > CBF Manager > SKA-SA > > Cell: +27 82 662 7726 > Work: +27 21 506 7300 > > On 29 Jun 2017, at 20:37, Peryer, Mark A. <[email protected]> > wrote: > > > Hello, > > > > I am trying to send data from one SKARAB to another SKARAB over 40GbE. I > have created two separate JASPER files, one for receiving and one for > transmitting. Each design has one forty_gbe yellow block and are configured > similar to Tutorial 2 on the casper website. In the JASPER file used for > transmitting, I have placed a snapshot block on the tx_data signal for the > forty_gbe block and am able to read the correct data from the snapshot > block using casperfpga. While it appears that the correct data is being > transmitted, nothing is received by the second SKARAB. In the JASPER file > used for receiving data, I have a snapshot block on the rx_data signal, > which should trigger once a valid frame is received. However, when I run > fpga01.snapshots.snapshot2.print_snap(50) it just hangs, indicating > nothing has been received. > > > > I did notice that when I right click on the forty_gbe yellow block and > go to Mask >> Edit Mask >> Parameters&Dialog, there is a menu that allows > for the card slot location of the 40GbE card to be selected. Our SKARAB > units have the 40GbE card populated on Mezzanine Slot 3, however only Card > Slot 0 and 1 are available to be selected. Should this option be set to > slot 3 in order to properly use the 40GbE ports? > > > > I should also mention that I have configured the tx_dest_ip block input > to be 192.168.5.20 and the tx_dest_port to be 10000, which are the default > values for the forty_gbe block. > > > > If there is anything else I should look at in order to properly > configure the forty_gbe yellow blocks please advise. > > > > Thanks, > > > > Mark > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "[email protected]" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].

