diff --git a/tb/arp_ep.py b/tb/arp_ep.py index 977cf141..2a4286dd 100644 --- a/tb/arp_ep.py +++ b/tb/arp_ep.py @@ -263,6 +263,7 @@ class ARPFrameSink(): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/baser_serdes_ep.py b/tb/baser_serdes_ep.py index 0c085bb0..4d0732f3 100644 --- a/tb/baser_serdes_ep.py +++ b/tb/baser_serdes_ep.py @@ -375,6 +375,7 @@ class BaseRSerdesSink(object): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/eth_ep.py b/tb/eth_ep.py index f7dd3f1a..fbac99aa 100644 --- a/tb/eth_ep.py +++ b/tb/eth_ep.py @@ -241,6 +241,7 @@ class EthFrameSink(): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/gmii_ep.py b/tb/gmii_ep.py index e4ff4292..d79570b7 100644 --- a/tb/gmii_ep.py +++ b/tb/gmii_ep.py @@ -193,6 +193,7 @@ class GMIISink(object): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/ip_ep.py b/tb/ip_ep.py index 4afcaea2..252f4aa3 100644 --- a/tb/ip_ep.py +++ b/tb/ip_ep.py @@ -383,6 +383,7 @@ class IPFrameSink(): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/mii_ep.py b/tb/mii_ep.py index 64c4a09b..bcbff030 100644 --- a/tb/mii_ep.py +++ b/tb/mii_ep.py @@ -201,6 +201,7 @@ class MIISink(object): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/udp_ep.py b/tb/udp_ep.py index 0a3d156c..3993c99c 100644 --- a/tb/udp_ep.py +++ b/tb/udp_ep.py @@ -476,6 +476,7 @@ class UDPFrameSink(): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: diff --git a/tb/xgmii_ep.py b/tb/xgmii_ep.py index 6191cb32..6b524764 100644 --- a/tb/xgmii_ep.py +++ b/tb/xgmii_ep.py @@ -258,6 +258,7 @@ class XGMIISink(object): return not self.queue def wait(self, timeout=0): + yield delay(0) if self.queue: return if timeout: