Skip to content

Commit

Permalink
enable XVC if not doing PROM prog
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Oct 31, 2024
1 parent 8e0c24c commit 33e484d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions firmware/python/simple_10gbe_rudp_kcu105_example/_Root.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ def __init__( self,
# Map the streaming interface
self.stream = self.rudp[1].application(0)

# Create XVC server and UDP client
self.udpClient = rogue.protocols.udp.Client( ip, 2542, False ) # Client(host, port, jumbo)
self.xvc = rogue.protocols.xilinx.Xvc ( 2542 ) # Server(port)
self.addProtocol( self.xvc )

# Connect the UDP Client to the XVC
self.udpClient == self.xvc
if not promProg:
# Create XVC server and UDP client
self.udpClient = rogue.protocols.udp.Client( ip, 2542, False ) # Client(host, port, jumbo)
self.xvc = rogue.protocols.xilinx.Xvc ( 2542 ) # Server(port)
self.addProtocol( self.xvc )

# Connect the UDP Client to the XVC
self.udpClient == self.xvc

#################################################################

Expand Down

0 comments on commit 33e484d

Please sign in to comment.