From d4f53abeec7a3c29a894f89248e6b6810a5a8790 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sat, 14 Nov 2020 22:39:16 -0800 Subject: [PATCH] Set default unit to ns --- cocotbext/axi/axis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()