diff --git a/cocotbext/axi/axis.py b/cocotbext/axi/axis.py index c0da7f1..7a7cf26 100644 --- a/cocotbext/axi/axis.py +++ b/cocotbext/axi/axis.py @@ -459,7 +459,7 @@ class AxiStreamSink(object): def idle(self): return not self.active - async def wait(self, timeout=0, timeout_unit=None): + async def wait(self, timeout=0, timeout_unit='ns'): if not self.empty(): return self.sync.clear()