From a28ec41f79d112bd03114fb47cddfee68ec696d6 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sat, 6 Sep 2025 17:04:48 -0700 Subject: [PATCH] Use append instead of extend in AXI lite master Signed-off-by: Alex Forencich --- cocotbext/axi/axil_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocotbext/axi/axil_master.py b/cocotbext/axi/axil_master.py index eaef0da..8e1f0a0 100644 --- a/cocotbext/axi/axil_master.py +++ b/cocotbext/axi/axil_master.py @@ -561,7 +561,7 @@ class AxiLiteMasterRead(Region, Reset): stop = end_offset for j in range(start, stop): - data.extend(bytearray([(cycle_data >> j*8) & 0xff])) + data.append((cycle_data >> j*8) & 0xff) if self.log.isEnabledFor(logging.INFO): self.log.info("Read complete addr: 0x%08x prot: %s resp: %s data: %s",