diff --git a/cocotbext/axi/axis.py b/cocotbext/axi/axis.py index b37d072..66cee81 100644 --- a/cocotbext/axi/axis.py +++ b/cocotbext/axi/axis.py @@ -208,6 +208,9 @@ class AxiStreamFrame(object): def __iter__(self): return self.tdata.__iter__() + def __bytes__(self): + return bytes(self.tdata) + class AxiStreamSource(object):