From 33e484df58a7b9ea6f798fe891b7a446caebe7da Mon Sep 17 00:00:00 2001 From: Larry Ruckman Date: Thu, 31 Oct 2024 10:33:22 -0700 Subject: [PATCH] enable XVC if not doing PROM prog --- .../simple_10gbe_rudp_kcu105_example/_Root.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/firmware/python/simple_10gbe_rudp_kcu105_example/_Root.py b/firmware/python/simple_10gbe_rudp_kcu105_example/_Root.py index 85abe91..93ca0f1 100644 --- a/firmware/python/simple_10gbe_rudp_kcu105_example/_Root.py +++ b/firmware/python/simple_10gbe_rudp_kcu105_example/_Root.py @@ -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 #################################################################