cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
tc_UdpSend.py File Reference

Go to the source code of this file.

Namespaces

 tc_UdpSend
 

Functions

def tc_UdpSend.udp_tx_loop (sock, message, count, verbose=False)
 
def tc_UdpSend.udp_tx_ramp (sock, message, count, verbose=False)
 

Variables

 tc_UdpSend.parser = argparse.ArgumentParser(description='A script to send UDP data to an FPGA module.')
 
 tc_UdpSend.type
 
 tc_UdpSend.str
 
 tc_UdpSend.default
 
 tc_UdpSend.help
 
 tc_UdpSend.int
 
 tc_UdpSend.action
 
 tc_UdpSend.args = parser.parse_args()
 
 tc_UdpSend.ipFpga = getFpgaIpv4(args)
 
 tc_UdpSend.instId = getInstanceId(args)
 
 tc_UdpSend.ipResMngr = getResourceManagerIpv4(args)
 
 tc_UdpSend.portFpga = RECV_MODE_LSN_PORT
 
 tc_UdpSend.portResMngr = getResourceManagerPort(args)
 
tuple tc_UdpSend.fpgaAssociation = (str(ipFpga), portFpga)
 
int tc_UdpSend.udpSP = portFpga + 49152
 
tuple tc_UdpSend.hostAssociation = (ipSaStr, udpSP)
 
 tc_UdpSend.udpSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
 
 tc_UdpSend.seed = args.seed
 
 tc_UdpSend.size = args.size
 
 tc_UdpSend.count = args.loop_count
 
 tc_UdpSend.message = str_static_gen(size)
 
 tc_UdpSend.verbose = args.verbose