Use append instead of extend in AXI lite master

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-09-06 17:04:48 -07:00
parent f2bf8c0ed8
commit a28ec41f79

View File

@@ -561,7 +561,7 @@ class AxiLiteMasterRead(Region, Reset):
stop = end_offset stop = end_offset
for j in range(start, stop): 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): if self.log.isEnabledFor(logging.INFO):
self.log.info("Read complete addr: 0x%08x prot: %s resp: %s data: %s", self.log.info("Read complete addr: 0x%08x prot: %s resp: %s data: %s",